Analysis

  • max time kernel
    145s
  • max time network
    145s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    11-12-2024 08:31

General

  • Target

    e0a170a43c2af3360b666b2aa742fbd2_JaffaCakes118.exe

  • Size

    11.6MB

  • MD5

    e0a170a43c2af3360b666b2aa742fbd2

  • SHA1

    a8a594c2742acbc4ee2adcad2b94eddc25357c32

  • SHA256

    4cd18aa5224d0d65b237774ae232b11bf9dd9a722e2707dce442f843e571ff71

  • SHA512

    a67c44b013daf360812d5b1009007db4c6ff846429aed8261bbfab6778e41c3f07409d3e9ab05f61ac7db77d96bccb00d10b8521208dd0420527b8855fdd15bf

  • SSDEEP

    6144:BeeKozztQBnWJ4ZF+PAb1nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn:BeeKozCBnuA

Malware Config

Extracted

Family

tofsee

C2

defeatwax.ru

refabyd.info

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Tofsee family
  • Windows security bypass 2 TTPs 1 IoCs
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Launches sc.exe 3 IoCs

    Sc.exe is a Windows utlilty to control services on the system.

  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

  • System Location Discovery: System Language Discovery 1 TTPs 9 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\e0a170a43c2af3360b666b2aa742fbd2_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\e0a170a43c2af3360b666b2aa742fbd2_JaffaCakes118.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2780
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kmxirway\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2676
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\psqlfmwg.exe" C:\Windows\SysWOW64\kmxirway\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2996
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create kmxirway binPath= "C:\Windows\SysWOW64\kmxirway\psqlfmwg.exe /d\"C:\Users\Admin\AppData\Local\Temp\e0a170a43c2af3360b666b2aa742fbd2_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1528
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description kmxirway "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2804
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start kmxirway
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2568
    • C:\Windows\SysWOW64\netsh.exe
      "C:\Windows\System32\netsh.exe" advfirewall firewall add rule name="Host-process for services of Windows" dir=in action=allow program="C:\Windows\SysWOW64\svchost.exe" enable=yes>nul
      2⤵
      • Modifies Windows Firewall
      • Event Triggered Execution: Netsh Helper DLL
      • System Location Discovery: System Language Discovery
      PID:2248
  • C:\Windows\SysWOW64\kmxirway\psqlfmwg.exe
    C:\Windows\SysWOW64\kmxirway\psqlfmwg.exe /d"C:\Users\Admin\AppData\Local\Temp\e0a170a43c2af3360b666b2aa742fbd2_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2628
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Windows security bypass
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1296

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Temp\psqlfmwg.exe

    Filesize

    10.9MB

    MD5

    ab70e42d97b68173eaab248b2e800422

    SHA1

    ecaab0c3ecd8c28d46db9e3548371dc37819ac9b

    SHA256

    6abbbbbc6fc2e724079079696fdad6c634a86e922701f7fbf723080ce0389ccc

    SHA512

    00443c7e5d3796f107ed8f59fa8dfa0351d3b88cfa2a5c91d857e2c221b784c4ee3ab46840298f6fbb721d8ef8979dd1890fd0a3bc0cea0e23cc59c3db3620cf

  • memory/1296-15-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/1296-17-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/1296-14-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/1296-12-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/1296-19-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2628-18-0x0000000000400000-0x000000000086C000-memory.dmp

    Filesize

    4.4MB

  • memory/2780-3-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2780-2-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/2780-9-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/2780-8-0x0000000000400000-0x000000000086C000-memory.dmp

    Filesize

    4.4MB

  • memory/2780-11-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2780-10-0x0000000000A40000-0x0000000000B40000-memory.dmp

    Filesize

    1024KB

  • memory/2780-1-0x0000000000A40000-0x0000000000B40000-memory.dmp

    Filesize

    1024KB