Analyzing Hacker Tools: A Comprehensive Guide to Computer Forensics Investigation
This guide explores the essential techniques for analyzing hacker tools in computer forensics. Discover how to identify the behavior of executables through various methods, including online searches, source code reviews, and sandbox execution. Learn about program compilation processes involving compilers, assemblers, and linkers, alongside static and dynamic analysis strategies. Key techniques discussed include symbol extraction, library linking, and using tools like strace, Filemon, and VMWare for secure dynamic analysis. Equip yourself with the skills to assess potential malicious software effectively.
Analyzing Hacker Tools: A Comprehensive Guide to Computer Forensics Investigation
E N D
Presentation Transcript
COEN 252 Computer Forensics Investigating Hacker Tools
Program Analysis • Given an executable, how do we find out what it does? • Try to find the program online. • Perform source code review. • Execute the program in a sandbox.
Program Compilation • Compiler • Translates HLL code to Assembly / ILL • Assembler • Translates Assembly code to machine language • Linker • Creates object code out of several modules. • A program usually makes library calls (stdio)
Program Compilation • Statically Linked: All library code is part of the object code • Dynamically Linked: Program calls library functions. (DLL) • Stripping: Removes all symbols from object code. • Packing with UPX.
Program Compilation • Static compilation needs more memory
Program Analysis • Static Analysis: • Determine the type of executable. • file in Unix • exetype in Windows • Symbol Extraction: • Use a program like strings to find symbols left in object code. • Names give hints on program. • Will not work for stripped files.
Program Analysis • Find the program online: • Use the name of the file to find online versions. • Use strings to check whether this is a similar file. • Use same compiler to compile the online version and check for similarity.
Program Analysis • Investigate source code
Program Analysis • Dynamic Analysis of a Hacker Tool • Create a sandbox. • VMWare • Do not connect to the internet. • Sniff on a closed network. • On Unix, use strace. • Monitors OS calls. • On Windows, use Filemon, Regmon, ListDLLs, PsList, Fport