Analysis

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

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    19-08-2024 04:08

General

  • Target

    a986ebd7bd52f4596e4b317b65e9bb53_JaffaCakes118.exe

  • Size

    13.5MB

  • MD5

    a986ebd7bd52f4596e4b317b65e9bb53

  • SHA1

    7e99414758f009fe8bb2c7683914f3591f3deff5

  • SHA256

    31deb36fb3dedd632e9472f2b85c101889dba1133ad199a61cab3f8d89204bf1

  • SHA512

    aa4c1181640300e377950a69898f9ded652d61295063cb75ec6b0ec10c5f65402d9a6510bd5862d94bd015752faccbf1534f6c11cbf7f49498b108cdb4e8eb5f

  • SSDEEP

    12288:YaCPuKabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb7:guK

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.

  • 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\a986ebd7bd52f4596e4b317b65e9bb53_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\a986ebd7bd52f4596e4b317b65e9bb53_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4556
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\dcleqtgx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:780
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gajtgjoa.exe" C:\Windows\SysWOW64\dcleqtgx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4052
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create dcleqtgx binPath= "C:\Windows\SysWOW64\dcleqtgx\gajtgjoa.exe /d\"C:\Users\Admin\AppData\Local\Temp\a986ebd7bd52f4596e4b317b65e9bb53_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4080
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description dcleqtgx "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4784
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start dcleqtgx
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4256
    • 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:4204
  • 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=1296,i,1602949858158667699,12464335823361976127,262144 --variations-seed-version --mojo-platform-channel-handle=4116 /prefetch:8
    1⤵
      PID:4412
    • C:\Windows\SysWOW64\dcleqtgx\gajtgjoa.exe
      C:\Windows\SysWOW64\dcleqtgx\gajtgjoa.exe /d"C:\Users\Admin\AppData\Local\Temp\a986ebd7bd52f4596e4b317b65e9bb53_JaffaCakes118.exe"
      1⤵
      • Executes dropped EXE
      • Suspicious use of SetThreadContext
      • System Location Discovery: System Language Discovery
      • Suspicious use of WriteProcessMemory
      PID:692
      • C:\Windows\SysWOW64\svchost.exe
        svchost.exe
        2⤵
        • Sets service image path in registry
        • Deletes itself
        • System Location Discovery: System Language Discovery
        PID:2656

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

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

      Filesize

      12.0MB

      MD5

      eb806cd1a977120e3794bdf3c305789c

      SHA1

      415ddff7b55be85512cec6e7c243755da525471d

      SHA256

      0251b988e5523a03c8fb59fc494b3c624ffa3ced366000ffbef57c247ca0dc73

      SHA512

      36c083b8408c8e9012cc2fb5c2d048d4fa302a7a817010d7f2ba43e8e4815644fa76613991bef2625e2ad199ac9c3ad92f965f5811945e0252580203cf87a6a6

    • memory/692-11-0x0000000000400000-0x00000000004A9000-memory.dmp

      Filesize

      676KB

    • memory/692-13-0x0000000000400000-0x00000000004A9000-memory.dmp

      Filesize

      676KB

    • memory/692-12-0x0000000000400000-0x00000000004A9000-memory.dmp

      Filesize

      676KB

    • memory/692-16-0x0000000000400000-0x00000000004A9000-memory.dmp

      Filesize

      676KB

    • memory/2656-14-0x0000000000B20000-0x0000000000B35000-memory.dmp

      Filesize

      84KB

    • memory/2656-18-0x0000000000B20000-0x0000000000B35000-memory.dmp

      Filesize

      84KB

    • memory/2656-19-0x0000000000B20000-0x0000000000B35000-memory.dmp

      Filesize

      84KB

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

      Filesize

      84KB

    • memory/4556-2-0x0000000000610000-0x0000000000623000-memory.dmp

      Filesize

      76KB

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

      Filesize

      84KB

    • memory/4556-9-0x0000000000610000-0x0000000000623000-memory.dmp

      Filesize

      76KB

    • memory/4556-8-0x0000000000400000-0x00000000004A9000-memory.dmp

      Filesize

      676KB

    • memory/4556-1-0x0000000000680000-0x0000000000780000-memory.dmp

      Filesize

      1024KB