Analysis

  • max time kernel
    145s
  • 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
    30-11-2024 02:03

General

  • Target

    b45db2c776b80d9917734597ec4aaec7_JaffaCakes118.exe

  • Size

    11.2MB

  • MD5

    b45db2c776b80d9917734597ec4aaec7

  • SHA1

    9036a908ff16d45a0ce8a281e73665affd118091

  • SHA256

    c04a5f65f05b9b01b6b4c594a5e7a20c5d6a0cc78e92a782fba497dae49f60d9

  • SHA512

    47a66f3b5e22d1045a71216fca4afd843f264f5046f3f7a9483e14964a0d42293b9b06c7baee7e9b09adfa6a98a67ba6073b7b9366169ca4cca7e7d912629365

  • SSDEEP

    6144:CVLzTNrHtNo3azgzs1anrC+ekTXiRpYjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjD:CVL3NrTo3bjLTM

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\b45db2c776b80d9917734597ec4aaec7_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\b45db2c776b80d9917734597ec4aaec7_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1052
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xkgwsqa\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4484
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\lxspwvvj.exe" C:\Windows\SysWOW64\xkgwsqa\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3488
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create xkgwsqa binPath= "C:\Windows\SysWOW64\xkgwsqa\lxspwvvj.exe /d\"C:\Users\Admin\AppData\Local\Temp\b45db2c776b80d9917734597ec4aaec7_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2596
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description xkgwsqa "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1344
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start xkgwsqa
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2940
    • 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:3608
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1052 -s 1040
      2⤵
      • Program crash
      PID:2856
  • C:\Windows\SysWOW64\xkgwsqa\lxspwvvj.exe
    C:\Windows\SysWOW64\xkgwsqa\lxspwvvj.exe /d"C:\Users\Admin\AppData\Local\Temp\b45db2c776b80d9917734597ec4aaec7_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2828
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4368
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2828 -s 520
      2⤵
      • Program crash
      PID:4504
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 412 -p 1052 -ip 1052
    1⤵
      PID:4204
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 436 -p 2828 -ip 2828
      1⤵
        PID:2740

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.6MB

        MD5

        d96a8dff04caf2248f6d6136bb0be361

        SHA1

        513e449c332c871777afd7b9855b21984d98d4e9

        SHA256

        8ef2a0eb1c950c5cc0cd31ca11260793fcdb5bde2ad607da5dcaec501e43bb87

        SHA512

        7f914897d75b2b0b4506b4c2d2b5cc64907efb0b9b066da139ec92516671bb6abaa9799f9d2fe5036fce0e472c455f1746bf35cc96f51ef22ac0a7eeb9e1c08e

      • memory/1052-9-0x0000000000E00000-0x0000000000E13000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/1052-2-0x0000000000E00000-0x0000000000E13000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/1052-8-0x0000000000400000-0x000000000086C000-memory.dmp

        Filesize

        4.4MB

      • memory/1052-1-0x0000000000870000-0x0000000000970000-memory.dmp

        Filesize

        1024KB

      • memory/2828-11-0x0000000000400000-0x000000000086C000-memory.dmp

        Filesize

        4.4MB

      • memory/2828-15-0x0000000000400000-0x000000000086C000-memory.dmp

        Filesize

        4.4MB

      • memory/2828-16-0x0000000000400000-0x000000000086C000-memory.dmp

        Filesize

        4.4MB

      • memory/4368-12-0x0000000000A00000-0x0000000000A15000-memory.dmp

        Filesize

        84KB

      • memory/4368-14-0x0000000000A00000-0x0000000000A15000-memory.dmp

        Filesize

        84KB

      • memory/4368-17-0x0000000000A00000-0x0000000000A15000-memory.dmp

        Filesize

        84KB