Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    27-12-2024 02:40

General

  • Target

    JaffaCakes118_8ce1a5b895ecaca526fa22d661a99b5b3fd0c125fb778ce2896946201717e937.exe

  • Size

    234KB

  • MD5

    5722b3f6ae81d9b1578fcc798063b345

  • SHA1

    f88b48d57a4452b53f0752e7514fdea6072f4b57

  • SHA256

    8ce1a5b895ecaca526fa22d661a99b5b3fd0c125fb778ce2896946201717e937

  • SHA512

    e33bf3a8d3872eb917a6895ed2f53b22216d558abf561a9cbba6defba7ec4c6e3a9d5798fe4f2e35813f3fad699787598a3b44be19eba3d086ecff75cd95914f

  • SSDEEP

    6144:Poi7E6trwhkr0QGcZHb8S68vy3fMw6S65:Px7E6trwi0QGchG0uMwO

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.

  • Program crash 2 IoCs
  • 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_8ce1a5b895ecaca526fa22d661a99b5b3fd0c125fb778ce2896946201717e937.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8ce1a5b895ecaca526fa22d661a99b5b3fd0c125fb778ce2896946201717e937.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2516
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mpxiidgf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1840
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gajtgjoa.exe" C:\Windows\SysWOW64\mpxiidgf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:228
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create mpxiidgf binPath= "C:\Windows\SysWOW64\mpxiidgf\gajtgjoa.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8ce1a5b895ecaca526fa22d661a99b5b3fd0c125fb778ce2896946201717e937.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2228
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description mpxiidgf "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1804
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start mpxiidgf
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1436
    • 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:2212
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2516 -s 1040
      2⤵
      • Program crash
      PID:3128
  • C:\Windows\SysWOW64\mpxiidgf\gajtgjoa.exe
    C:\Windows\SysWOW64\mpxiidgf\gajtgjoa.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8ce1a5b895ecaca526fa22d661a99b5b3fd0c125fb778ce2896946201717e937.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2040
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:724
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2040 -s 540
      2⤵
      • Program crash
      PID:3360
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 416 -p 2516 -ip 2516
    1⤵
      PID:4788
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 432 -p 2040 -ip 2040
      1⤵
        PID:3752

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.5MB

        MD5

        54451ce5208173c842a7cbc10c7956be

        SHA1

        d843f6a664a00116514d8937f499a1acf87ff0c2

        SHA256

        a0febff43f5509b5a9aa3d4d38fda375c22c60e5fd5d5f09e3cb454e9cc03af4

        SHA512

        421c4eea91db263913243e6ee6c295172fc28e84fcaf0cf9de19eb05b462534256ddfe7a979042a12b00f26a63aa2d9b3c2308bb3107acfe135c96c091f1a1ac

      • memory/724-15-0x0000000000B50000-0x0000000000B65000-memory.dmp

        Filesize

        84KB

      • memory/724-12-0x0000000000B50000-0x0000000000B65000-memory.dmp

        Filesize

        84KB

      • memory/724-17-0x0000000000B50000-0x0000000000B65000-memory.dmp

        Filesize

        84KB

      • memory/2040-11-0x0000000000400000-0x000000000086A000-memory.dmp

        Filesize

        4.4MB

      • memory/2040-16-0x0000000000400000-0x000000000086A000-memory.dmp

        Filesize

        4.4MB

      • memory/2040-13-0x0000000000400000-0x000000000086A000-memory.dmp

        Filesize

        4.4MB

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

        Filesize

        84KB

      • memory/2516-2-0x00000000009C0000-0x00000000009D3000-memory.dmp

        Filesize

        76KB

      • memory/2516-8-0x0000000000400000-0x000000000086A000-memory.dmp

        Filesize

        4.4MB

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

        Filesize

        84KB

      • memory/2516-9-0x00000000009C0000-0x00000000009D3000-memory.dmp

        Filesize

        76KB

      • memory/2516-1-0x00000000009F0000-0x0000000000AF0000-memory.dmp

        Filesize

        1024KB