Analysis

  • max time kernel
    149s
  • max time network
    150s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    22-12-2024 04:49

General

  • Target

    JaffaCakes118_a9785cc2161ee3a09be004bc8346b6d121beaee526de903c66e465178b39471d.exe

  • Size

    153KB

  • MD5

    18e44b2036f311423755b28f21676f82

  • SHA1

    34fffe3ca810d3a4850e60b108bf8b0d140f2c9d

  • SHA256

    a9785cc2161ee3a09be004bc8346b6d121beaee526de903c66e465178b39471d

  • SHA512

    927baa57a78dc23f6b9f64cc3fd693db79f7580dd906c6cdebb88a7d539ceede2a5583b8bf15e91d162d3b66833bf568f55b48557466af33f281e80548521126

  • SSDEEP

    1536:g3XTaOHdVEPuyp3GwwsMoqOhvQ87hKWng68gp5ZSuxgRJ355VfyvPt/CD6H:gzamdxyDwGr7hK4z8gp5iL35r6v0O

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
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • 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 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a9785cc2161ee3a09be004bc8346b6d121beaee526de903c66e465178b39471d.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a9785cc2161ee3a09be004bc8346b6d121beaee526de903c66e465178b39471d.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:560
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lmtxpneg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4884
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\oahbgmzh.exe" C:\Windows\SysWOW64\lmtxpneg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1672
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create lmtxpneg binPath= "C:\Windows\SysWOW64\lmtxpneg\oahbgmzh.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a9785cc2161ee3a09be004bc8346b6d121beaee526de903c66e465178b39471d.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3460
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description lmtxpneg "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1912
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start lmtxpneg
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3944
    • 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:2412
  • C:\Windows\SysWOW64\lmtxpneg\oahbgmzh.exe
    C:\Windows\SysWOW64\lmtxpneg\oahbgmzh.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a9785cc2161ee3a09be004bc8346b6d121beaee526de903c66e465178b39471d.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3764
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1720

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.2MB

    MD5

    d7b9eb74953976cf688477581c2dbe54

    SHA1

    2b43466f8f151750e49133bbc6e8971c0071bb76

    SHA256

    416a1879dd12b29756205a1acff0bc51d158b2f98e9c26975a8fa7889d041902

    SHA512

    72c584fe4909c9c02e318012afb53597d0a5e4302b86fa1003d3f26e91256f34f4fadca33c5676a173c611f3ec0af1bb6d7edb65b5db336e37cbb38b2c4f3dc2

  • memory/560-8-0x0000000000400000-0x00000000004AD000-memory.dmp

    Filesize

    692KB

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

    Filesize

    84KB

  • memory/560-2-0x0000000002210000-0x0000000002223000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/560-9-0x0000000002210000-0x0000000002223000-memory.dmp

    Filesize

    76KB

  • memory/560-1-0x0000000000640000-0x0000000000740000-memory.dmp

    Filesize

    1024KB

  • memory/1720-14-0x0000000000740000-0x0000000000755000-memory.dmp

    Filesize

    84KB

  • memory/1720-16-0x0000000000740000-0x0000000000755000-memory.dmp

    Filesize

    84KB

  • memory/1720-17-0x0000000000740000-0x0000000000755000-memory.dmp

    Filesize

    84KB

  • memory/3764-11-0x0000000000400000-0x00000000004AD000-memory.dmp

    Filesize

    692KB

  • memory/3764-13-0x0000000000400000-0x00000000004AD000-memory.dmp

    Filesize

    692KB

  • memory/3764-12-0x0000000000400000-0x00000000004AD000-memory.dmp

    Filesize

    692KB

  • memory/3764-19-0x0000000000400000-0x00000000004AD000-memory.dmp

    Filesize

    692KB