Analysis

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

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

General

  • Target

    JaffaCakes118_df04156566c9fa82a9ecfcc43911f845d2e7941ffda2daa63b1fa06743a38e8d.exe

  • Size

    285KB

  • MD5

    c2ce2df162edbe6d16c197dcce8461c1

  • SHA1

    84d5e79aaef19c342d0f7e0f4c91a4c1446c0c55

  • SHA256

    df04156566c9fa82a9ecfcc43911f845d2e7941ffda2daa63b1fa06743a38e8d

  • SHA512

    246688b91058703e24bafd27032e87f57041772ac4a44047c7a58be7c69141b1fd4d3eb443b8756c3aecd0a8de75949ec46f603f156a41afc54e5e37ce6e10b0

  • SSDEEP

    6144:KubLIkGEMVyknC38e3qJL6b9OOhxxdeTr/ekI:KWchEMVykSoL61zxd6L

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_df04156566c9fa82a9ecfcc43911f845d2e7941ffda2daa63b1fa06743a38e8d.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_df04156566c9fa82a9ecfcc43911f845d2e7941ffda2daa63b1fa06743a38e8d.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2168
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mjpfmvac\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2700
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hmiaybn.exe" C:\Windows\SysWOW64\mjpfmvac\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2456
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create mjpfmvac binPath= "C:\Windows\SysWOW64\mjpfmvac\hmiaybn.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_df04156566c9fa82a9ecfcc43911f845d2e7941ffda2daa63b1fa06743a38e8d.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2240
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description mjpfmvac "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:484
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start mjpfmvac
      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:2220
  • C:\Windows\SysWOW64\mjpfmvac\hmiaybn.exe
    C:\Windows\SysWOW64\mjpfmvac\hmiaybn.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_df04156566c9fa82a9ecfcc43911f845d2e7941ffda2daa63b1fa06743a38e8d.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3064
    • 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:2652

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.2MB

    MD5

    3b1f2f9cb6a1022f55968408c6c89640

    SHA1

    5916f3b9d76fc2a48cb0a34acd711b11eec7eea9

    SHA256

    4b14db5f1510db47719987859fa21d5d68f6addbaf919de96ba13f71b09c6b66

    SHA512

    63d247f99bec10abd1f2f891e6680320b7e38cfeae6fd1d8ee5f1997a716642191cbd58709a4bf6a2d21d595ffda000fba885258edfa9ef19eb2a180109b3481

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2168-8-0x0000000000400000-0x0000000000454000-memory.dmp

    Filesize

    336KB

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

    Filesize

    76KB

  • memory/2168-1-0x00000000005A0000-0x00000000006A0000-memory.dmp

    Filesize

    1024KB

  • memory/2652-11-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2652-16-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2652-14-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/2652-18-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/3064-17-0x0000000000400000-0x0000000000454000-memory.dmp

    Filesize

    336KB