Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    24-12-2024 22:47

General

  • Target

    JaffaCakes118_5bca9de0eabcbd74c4f04427a643fa084671b8260b90e7309f41a30c5f145b95.exe

  • Size

    254KB

  • MD5

    9d849c8ca21b5adea5bcf3f673b74517

  • SHA1

    728ddd3fad37b744a26621e3bcae9f65cc743c9d

  • SHA256

    5bca9de0eabcbd74c4f04427a643fa084671b8260b90e7309f41a30c5f145b95

  • SHA512

    453761d3d8486e1f406db3700f60a469b8b5855b16cc52923bb59f22901a414b305a6cfacfd5abcba802e53376c63f568cbf61f364ff7c4d05ba17184f04e674

  • SSDEEP

    6144:XvcjRGQr7zfreXSM7h0V9beG5k+zbZ0rpPRxN+JxU:XUVPr7zfCXfe9bOQbZspPRPq

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\JaffaCakes118_5bca9de0eabcbd74c4f04427a643fa084671b8260b90e7309f41a30c5f145b95.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5bca9de0eabcbd74c4f04427a643fa084671b8260b90e7309f41a30c5f145b95.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2668
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\nmifaohh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2136
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jdmwjmrd.exe" C:\Windows\SysWOW64\nmifaohh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2840
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create nmifaohh binPath= "C:\Windows\SysWOW64\nmifaohh\jdmwjmrd.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5bca9de0eabcbd74c4f04427a643fa084671b8260b90e7309f41a30c5f145b95.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2848
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description nmifaohh "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2868
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start nmifaohh
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2764
    • 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:2572
  • C:\Windows\SysWOW64\nmifaohh\jdmwjmrd.exe
    C:\Windows\SysWOW64\nmifaohh\jdmwjmrd.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5bca9de0eabcbd74c4f04427a643fa084671b8260b90e7309f41a30c5f145b95.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2844
    • 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:2624

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.8MB

    MD5

    3f8f959e4d225d782d4a865f95e78ade

    SHA1

    f037d4b9f8624385ed5c59b6da5209f7295f2d34

    SHA256

    4a096b9f06df05c44580c3b874a2a9dcc1e00c0764eebf0956982b62e90ad800

    SHA512

    b54c046813c763344dd1cf80b20592d0b93d9dd06e4d39d609301004d00851de7b6152a69f82d63dc3185b6cffb85d37837e757626531d4c78ab7bd7a0d4a87f

  • memory/2624-11-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2624-14-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/2624-16-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2624-18-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2668-1-0x0000000000A00000-0x0000000000B00000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2668-8-0x0000000000400000-0x000000000086F000-memory.dmp

    Filesize

    4.4MB

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

    Filesize

    76KB

  • memory/2844-17-0x0000000000400000-0x000000000086F000-memory.dmp

    Filesize

    4.4MB