Common API used in Malware
reversing api
Import tablosu ve runtime resolve edilen API’ler davranışı hızla sınıflandırır.
IAT boşsa GetProcAddress zincirini takip et.
Metodoloji
Section titled “Metodoloji”-
rabin2 -i/ DIE ile import ve packer durumunu gör. -
Network / inject / crypto / persistence kümelerini işaretle.
-
Dinamik olarak çağrı argümanlarını yakala (Frida/x64dbg).
-
C2, inject hedefi ve kalıcılık yolunu not et.
Import triage
Section titled “Import triage”rabin2 -i sample.exe | head -80objdump -p sample.exe | rg 'DLL Name|vma'pestudio sample.exefloss sample.exe | rg -i 'http|VirtualAlloc|CreateRemoteThread|RegSetValue'Process / inject
Section titled “Process / inject”VirtualAllocEx, WriteProcessMemory, CreateRemoteThreadNtCreateThreadEx, QueueUserAPC, SetThreadContextOpenProcess, NtMapViewOfSectionfrida -f sample.exe -l trace_inject.js# x64dbg: bp CreateRemoteThreadNetwork / C2
Section titled “Network / C2”InternetOpenUrlA/W, HttpSendRequest, WinHttpSendRequestWSAStartup, connect, send, recvDnsQuery_Atcpdump -i any host not 10.0.0.0/8 -nprocmon / Accept filter: Operation is TCP ConnectCrypto / string
Section titled “Crypto / string”CryptDecrypt, BCryptDecrypt, CryptImportKeyAES_* (OpenSSL), EVP_DecryptUpdatefrida-trace -f sample.exe -i 'CryptDecrypt' -i 'BCryptDecrypt'Persistence
Section titled “Persistence”RegSetValueEx (Run/RunOnce), StartService, ITaskServiceCopyFile → Startup folder, WMI EventSubscriptionreg query HKCU\Software\Microsoft\Windows\CurrentVersion\RunChecklist
Section titled “Checklist”[ ] import/IAT triage tamam[ ] inject/network/crypto kümeleri işaretlendi[ ] runtime argümanlar yakalandı[ ] C2/persist yolu belgelendi