Analysis

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

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

General

  • Target

    JaffaCakes118_4e370c11ec3d5490a4f08c8f25219cd96b3098e619380317bf92d04e8374ebf2.exe

  • Size

    146KB

  • MD5

    f5339fab992d8d5dc0e4106fb8b5b899

  • SHA1

    cf0665860499961a9f5e1ef8d878b79684f8dca2

  • SHA256

    4e370c11ec3d5490a4f08c8f25219cd96b3098e619380317bf92d04e8374ebf2

  • SHA512

    22f068ada213227ac68c9d285331a0bbb82284c9dd73314a0df8bd5d9e5cf467c655efb3bf62d67ef5eef218b2b517c2b83e6e861476524dcd431cf4f164e370

  • SSDEEP

    3072:yMh6zd/diHv43x+rCV5EJLMhxZG/qfPJA5FHJATz:yg6R/dkv43GCP8tqf+5FGP

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_4e370c11ec3d5490a4f08c8f25219cd96b3098e619380317bf92d04e8374ebf2.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_4e370c11ec3d5490a4f08c8f25219cd96b3098e619380317bf92d04e8374ebf2.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3420
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kmgcxwr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1436
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ybucacku.exe" C:\Windows\SysWOW64\kmgcxwr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1400
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create kmgcxwr binPath= "C:\Windows\SysWOW64\kmgcxwr\ybucacku.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_4e370c11ec3d5490a4f08c8f25219cd96b3098e619380317bf92d04e8374ebf2.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2520
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description kmgcxwr "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4224
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start kmgcxwr
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3200
    • 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:3428
  • C:\Windows\SysWOW64\kmgcxwr\ybucacku.exe
    C:\Windows\SysWOW64\kmgcxwr\ybucacku.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_4e370c11ec3d5490a4f08c8f25219cd96b3098e619380317bf92d04e8374ebf2.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:5076
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:100

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.5MB

    MD5

    fb5bd53fdef8a83dbc6bb206f1cfc2b0

    SHA1

    84744cf6ffef18400cefc800ee593f56d4a925c3

    SHA256

    b8db637f4220d71957b7ddd15e05304b8212dfdfeb5f91d1590a1ccaf95de2d8

    SHA512

    da9abcfe4191d4b4cbaad5b7d511078a833313627cbafe09d2ff20085ed26df7e2d50855b24f0b929a57a189532569001a694d1a96c8882b3c2cdbbb28324572

  • memory/100-14-0x0000000000800000-0x0000000000815000-memory.dmp

    Filesize

    84KB

  • memory/100-19-0x0000000000800000-0x0000000000815000-memory.dmp

    Filesize

    84KB

  • memory/100-16-0x0000000000800000-0x0000000000815000-memory.dmp

    Filesize

    84KB

  • memory/3420-8-0x0000000000400000-0x00000000004AB000-memory.dmp

    Filesize

    684KB

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

    Filesize

    84KB

  • memory/3420-1-0x0000000000750000-0x0000000000850000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/5076-11-0x0000000000400000-0x00000000004AB000-memory.dmp

    Filesize

    684KB

  • memory/5076-12-0x0000000000400000-0x00000000004AB000-memory.dmp

    Filesize

    684KB

  • memory/5076-13-0x0000000000400000-0x00000000004AB000-memory.dmp

    Filesize

    684KB

  • memory/5076-18-0x0000000000400000-0x00000000004AB000-memory.dmp

    Filesize

    684KB