Analysis

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

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    13-09-2024 08:41

General

  • Target

    de1304cd9a3df49bed31e2e30455228a_JaffaCakes118.exe

  • Size

    14.8MB

  • MD5

    de1304cd9a3df49bed31e2e30455228a

  • SHA1

    a313f8c3ff1fc8af63c97e1fccb1665734937aa8

  • SHA256

    85f52025f20d7c908a33db506d5618087b3c73d13bf461a90401df0e6e561af4

  • SHA512

    dff870d3dd794aea9b1a5258d9e354d7ad8f3c1c5e38e5559af968c7adde4584f0a83fb84c566a25287371c02dce72b27bde7193b7ce3031e01bc91a64f4a78f

  • SSDEEP

    196608:p3qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqX:p

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.

  • 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\de1304cd9a3df49bed31e2e30455228a_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\de1304cd9a3df49bed31e2e30455228a_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3748
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rdcdsdmi\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3904
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ahtgpcdx.exe" C:\Windows\SysWOW64\rdcdsdmi\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:680
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create rdcdsdmi binPath= "C:\Windows\SysWOW64\rdcdsdmi\ahtgpcdx.exe /d\"C:\Users\Admin\AppData\Local\Temp\de1304cd9a3df49bed31e2e30455228a_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2444
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description rdcdsdmi "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:828
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start rdcdsdmi
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3252
    • 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:3692
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3748 -s 1044
      2⤵
      • Program crash
      PID:1612
  • C:\Windows\SysWOW64\rdcdsdmi\ahtgpcdx.exe
    C:\Windows\SysWOW64\rdcdsdmi\ahtgpcdx.exe /d"C:\Users\Admin\AppData\Local\Temp\de1304cd9a3df49bed31e2e30455228a_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:492
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2568
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 492 -s 244
      2⤵
      • Program crash
      PID:2200
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 3748 -ip 3748
    1⤵
      PID:380
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 492 -ip 492
      1⤵
        PID:1388
      • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
        "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --field-trial-handle=4340,i,1729213506309163284,12809566808978835441,262144 --variations-seed-version --mojo-platform-channel-handle=4036 /prefetch:8
        1⤵
          PID:3588

        Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

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

          Filesize

          10.2MB

          MD5

          b8b8b4ed686d89b5aa68f329c880142e

          SHA1

          d465dd272b047491cd7e727e399615616b1616f8

          SHA256

          1013f8e04f61bec2cd8c7780e66ddf724cde0124371b78e3c222065a8690dcf0

          SHA512

          fcdd1c1d24d398388872f6327a6ddd3ae511d2000df3fc3834314cbd1053a60552f9c217e725a77a2df1026b0cf6fefef0be37c214ba16c969eaa8e956c987df

        • memory/492-11-0x0000000000400000-0x0000000000871000-memory.dmp

          Filesize

          4.4MB

        • memory/492-18-0x0000000000400000-0x0000000000871000-memory.dmp

          Filesize

          4.4MB

        • memory/492-12-0x0000000000400000-0x0000000000871000-memory.dmp

          Filesize

          4.4MB

        • memory/2568-15-0x0000000000C20000-0x0000000000C35000-memory.dmp

          Filesize

          84KB

        • memory/2568-13-0x0000000000C20000-0x0000000000C35000-memory.dmp

          Filesize

          84KB

        • memory/2568-16-0x0000000000C20000-0x0000000000C35000-memory.dmp

          Filesize

          84KB

        • memory/3748-9-0x00000000001C0000-0x00000000001D3000-memory.dmp

          Filesize

          76KB

        • memory/3748-8-0x0000000000400000-0x0000000000871000-memory.dmp

          Filesize

          4.4MB

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

          Filesize

          84KB

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

          Filesize

          84KB

        • memory/3748-1-0x0000000000A70000-0x0000000000B70000-memory.dmp

          Filesize

          1024KB

        • memory/3748-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

          Filesize

          76KB