Analysis

  • max time kernel
    146s
  • max time network
    147s
  • platform
    windows7_x64
  • resource
    win7-20241010-en
  • resource tags

    arch:x64arch:x86image:win7-20241010-enlocale:en-usos:windows7-x64system
  • submitted
    03-11-2024 12:24

General

  • Target

    8b781b88987500ec50c623ccf8aa6a8a_JaffaCakes118.exe

  • Size

    287KB

  • MD5

    8b781b88987500ec50c623ccf8aa6a8a

  • SHA1

    857882d0763580b23e64e1f3e4f7eb7bd9173b5b

  • SHA256

    c9ce74a6fde17c62cff139a74cb86d26c53196d0712a3ae677fa74910b34047b

  • SHA512

    d5f730c21bb733beb4230d006b2cb39a2a560598c08832ab6510a600eb80371cc72d05a3f45f5131a54faa8346916ac49c4f1963c17dc4eecf2de786308ac2cb

  • SSDEEP

    6144:8wkmQ1kUgOdYL9yOPoeA8rFXj77QWldyQG1/e:PrXyYL9yOPk8rFT70WY

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\8b781b88987500ec50c623ccf8aa6a8a_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\8b781b88987500ec50c623ccf8aa6a8a_JaffaCakes118.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2716
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wpmxrgor\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2764
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ahkijjzn.exe" C:\Windows\SysWOW64\wpmxrgor\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3012
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create wpmxrgor binPath= "C:\Windows\SysWOW64\wpmxrgor\ahkijjzn.exe /d\"C:\Users\Admin\AppData\Local\Temp\8b781b88987500ec50c623ccf8aa6a8a_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2900
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description wpmxrgor "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2636
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start wpmxrgor
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2080
    • 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:2684
  • C:\Windows\SysWOW64\wpmxrgor\ahkijjzn.exe
    C:\Windows\SysWOW64\wpmxrgor\ahkijjzn.exe /d"C:\Users\Admin\AppData\Local\Temp\8b781b88987500ec50c623ccf8aa6a8a_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2624
    • 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:2864

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.3MB

    MD5

    bd4489095370c105bff1649bec96fc0b

    SHA1

    c63c046936151d67ca245182496ccfff76953382

    SHA256

    a058340ce7190bbdc52e8ee648284714b9cabadd6e2dac5201e3f41080b6f27c

    SHA512

    1f5f70fe2b36ddadd0842562792b826462c18dd124c689840cc6a99875cf043776385dcbc07d3d08cb23cea18eda902fcf77a64ba576838a7fff67cea6b52017

  • memory/2624-15-0x0000000000400000-0x0000000002B90000-memory.dmp

    Filesize

    39.6MB

  • memory/2716-8-0x0000000000400000-0x0000000002B90000-memory.dmp

    Filesize

    39.6MB

  • memory/2716-4-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2716-10-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2716-1-0x0000000002CD0000-0x0000000002DD0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    76KB

  • memory/2864-14-0x0000000000100000-0x0000000000115000-memory.dmp

    Filesize

    84KB

  • memory/2864-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2864-11-0x0000000000100000-0x0000000000115000-memory.dmp

    Filesize

    84KB

  • memory/2864-17-0x0000000000100000-0x0000000000115000-memory.dmp

    Filesize

    84KB

  • memory/2864-18-0x0000000000100000-0x0000000000115000-memory.dmp

    Filesize

    84KB