Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    23-12-2024 23:33

General

  • Target

    JaffaCakes118_b795f0e271a1bd7fc188917caa65ea765c83ffa1ce5dd48d2a5ee3c036562959.exe

  • Size

    211KB

  • MD5

    9665aea33b898abe45a17f0a37ddada2

  • SHA1

    a3fcb62d1007a17387827d5562c08defa2c2768d

  • SHA256

    b795f0e271a1bd7fc188917caa65ea765c83ffa1ce5dd48d2a5ee3c036562959

  • SHA512

    6fd6d11effc468b4c25cb0dac504057ebb59219a51ff3dd6cc87ac599111b266f11f3cb3a736b4fa1afde2a71e4c9b6700914631b2a445b5e0a31b1418c1f524

  • SSDEEP

    3072:3prJOGCT28OJwIvGvt1LpqC6mcLsRuR5WHeHruAZPwOxAV6fjMfvNZhgC:3prsoJwIvaLpqCIAKWHnALNjMfv5

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_b795f0e271a1bd7fc188917caa65ea765c83ffa1ce5dd48d2a5ee3c036562959.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b795f0e271a1bd7fc188917caa65ea765c83ffa1ce5dd48d2a5ee3c036562959.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2564
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\slncikto\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:352
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\htfnnynv.exe" C:\Windows\SysWOW64\slncikto\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1004
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create slncikto binPath= "C:\Windows\SysWOW64\slncikto\htfnnynv.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b795f0e271a1bd7fc188917caa65ea765c83ffa1ce5dd48d2a5ee3c036562959.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2560
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description slncikto "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2484
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start slncikto
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2148
    • 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:2840
  • C:\Windows\SysWOW64\slncikto\htfnnynv.exe
    C:\Windows\SysWOW64\slncikto\htfnnynv.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b795f0e271a1bd7fc188917caa65ea765c83ffa1ce5dd48d2a5ee3c036562959.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2780
    • 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:2920

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.6MB

    MD5

    ffb3a6caa4a3b68eeb73c6d8331b6753

    SHA1

    4d83bbbb5098da481f8fba36a3c20d828998b2ce

    SHA256

    86318220879a6ef0f6834363143a3875af8082ec05e24d8bee45cfd13c42d54e

    SHA512

    bd9037b47aa02ee84543a1e37bfb12a4236f157d4c7c1ecbf3925980561ef0da79fa85143e3be0d73adb136603538c5eb15ce762177c8325a2b2af0be62063f0

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

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2564-1-0x0000000000270000-0x0000000000370000-memory.dmp

    Filesize

    1024KB

  • memory/2564-8-0x0000000000400000-0x0000000002B74000-memory.dmp

    Filesize

    39.5MB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2780-17-0x0000000000400000-0x0000000002B74000-memory.dmp

    Filesize

    39.5MB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB