Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29-12-2024 13:59

General

  • Target

    JaffaCakes118_48ad47bd1cda58f6b29bf550b41d187242ddb7065ebc1f0f66ba74998084485b.exe

  • Size

    296KB

  • MD5

    bfc0fc7b1de893238657f0a52605fa15

  • SHA1

    83896faa60c96a7570cf9c6af784a2ca7ab9a93e

  • SHA256

    48ad47bd1cda58f6b29bf550b41d187242ddb7065ebc1f0f66ba74998084485b

  • SHA512

    1cacdc05423e5fcd2dbba3da9fca6aa0ab232cf20dd5046a52c038c7eb73661dbfd9d70339e62855e5c57c6c0bb87d61c44c90afd2f7d6410e2a506d6bf914f2

  • SSDEEP

    3072:5bb4eNWRoLsGWOk+m4JsQAbtFplgJZO80t6mEndgUWrxpzbgqru:5f9W2Lswk+3+JzaQEdLuzbgwu

Malware Config

Extracted

Family

tofsee

C2

patmushta.info

parubey.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_48ad47bd1cda58f6b29bf550b41d187242ddb7065ebc1f0f66ba74998084485b.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_48ad47bd1cda58f6b29bf550b41d187242ddb7065ebc1f0f66ba74998084485b.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1344
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\cgkfjctu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1560
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xzhgwwqn.exe" C:\Windows\SysWOW64\cgkfjctu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4396
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create cgkfjctu binPath= "C:\Windows\SysWOW64\cgkfjctu\xzhgwwqn.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_48ad47bd1cda58f6b29bf550b41d187242ddb7065ebc1f0f66ba74998084485b.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3272
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description cgkfjctu "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2736
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start cgkfjctu
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:844
    • 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:1672
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1344 -s 1200
      2⤵
      • Program crash
      PID:4816
  • C:\Windows\SysWOW64\cgkfjctu\xzhgwwqn.exe
    C:\Windows\SysWOW64\cgkfjctu\xzhgwwqn.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_48ad47bd1cda58f6b29bf550b41d187242ddb7065ebc1f0f66ba74998084485b.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4416
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4028
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4416 -s 520
      2⤵
      • Program crash
      PID:368
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 1344 -ip 1344
    1⤵
      PID:1576
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 412 -p 4416 -ip 4416
      1⤵
        PID:2592

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.3MB

        MD5

        8d7ab63121431679d3d911d227b51c1c

        SHA1

        b182e1acc427ea216fff8cb930d8995c4a402f5a

        SHA256

        03edb6bf53ce1cdebf08ba5439782a536ebe4d7f4deef4c7d8b9408b9e557baa

        SHA512

        4f80787d456dba845b9ade4102f1d25c990cc1ae37ff49db6450441d2555e0887e9249086004035cc6c955526572043ad55e2609d01464ec04f36918b18c0e6a

      • memory/1344-8-0x00000000021B0000-0x00000000021C3000-memory.dmp

        Filesize

        76KB

      • memory/1344-2-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/1344-1-0x00000000021B0000-0x00000000021C3000-memory.dmp

        Filesize

        76KB

      • memory/1344-6-0x0000000000400000-0x0000000000453000-memory.dmp

        Filesize

        332KB

      • memory/1344-9-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/1344-0-0x00000000021A0000-0x00000000021AD000-memory.dmp

        Filesize

        52KB

      • memory/1344-7-0x00000000021A0000-0x00000000021AD000-memory.dmp

        Filesize

        52KB

      • memory/4028-13-0x0000000000A50000-0x0000000000A65000-memory.dmp

        Filesize

        84KB

      • memory/4028-15-0x0000000000A50000-0x0000000000A65000-memory.dmp

        Filesize

        84KB

      • memory/4028-16-0x0000000000A50000-0x0000000000A65000-memory.dmp

        Filesize

        84KB

      • memory/4416-10-0x0000000000400000-0x0000000000453000-memory.dmp

        Filesize

        332KB

      • memory/4416-12-0x0000000000400000-0x0000000000453000-memory.dmp

        Filesize

        332KB

      • memory/4416-11-0x0000000000400000-0x0000000000453000-memory.dmp

        Filesize

        332KB

      • memory/4416-18-0x0000000000400000-0x0000000000453000-memory.dmp

        Filesize

        332KB