Analysis

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

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29-09-2024 23:37

General

  • Target

    ff827ff08c5a827f4031097b116fb3fc_JaffaCakes118.exe

  • Size

    14.4MB

  • MD5

    ff827ff08c5a827f4031097b116fb3fc

  • SHA1

    92137fc5964f93777ac2d22ab35cf89a59919616

  • SHA256

    83513d4b9266cea1afd40e52eac3b8799a4a74480621fa0fb2471c3053c0838c

  • SHA512

    f640dee3a5ea5514ad0853f54f5df86f0b3dfe22b245c04ac9c3fb8d3287aa9b9ad7abe6f42d8b8e1708dc21734220f695c576adb447e29fcffe918793649486

  • SSDEEP

    98304:ejDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDj:

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\ff827ff08c5a827f4031097b116fb3fc_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\ff827ff08c5a827f4031097b116fb3fc_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:5112
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\vnnceftj\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4956
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tadbccsg.exe" C:\Windows\SysWOW64\vnnceftj\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3944
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create vnnceftj binPath= "C:\Windows\SysWOW64\vnnceftj\tadbccsg.exe /d\"C:\Users\Admin\AppData\Local\Temp\ff827ff08c5a827f4031097b116fb3fc_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2208
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description vnnceftj "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4020
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start vnnceftj
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2396
    • 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:1820
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 5112 -s 1028
      2⤵
      • Program crash
      PID:2144
  • C:\Windows\SysWOW64\vnnceftj\tadbccsg.exe
    C:\Windows\SysWOW64\vnnceftj\tadbccsg.exe /d"C:\Users\Admin\AppData\Local\Temp\ff827ff08c5a827f4031097b116fb3fc_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2452
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2620
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2452 -s 512
      2⤵
      • Program crash
      PID:3664
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 5112 -ip 5112
    1⤵
      PID:4388
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 2452 -ip 2452
      1⤵
        PID:3076

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.3MB

        MD5

        2f34b808901e8729d44b4fffff2e41ff

        SHA1

        520298586bf091b264310e277c09f8b460ec33ca

        SHA256

        d66363529b5412d3915e12e3ffd42b3321a027cc89b60afdc39b28098512ccbd

        SHA512

        1438dd430bc494c0733096fb0cfe489a09c55031c0ef685c4a43cd312b1795420cbf34892e1a0f61861348e687b9ffd2d4cf3ac26a91b13cbffd4a1780472492

      • memory/2452-13-0x0000000000400000-0x00000000004AF000-memory.dmp

        Filesize

        700KB

      • memory/2452-11-0x0000000000400000-0x00000000004AF000-memory.dmp

        Filesize

        700KB

      • memory/2452-12-0x0000000000400000-0x00000000004AF000-memory.dmp

        Filesize

        700KB

      • memory/2452-18-0x0000000000400000-0x00000000004AF000-memory.dmp

        Filesize

        700KB

      • memory/2620-14-0x0000000000850000-0x0000000000865000-memory.dmp

        Filesize

        84KB

      • memory/2620-16-0x0000000000850000-0x0000000000865000-memory.dmp

        Filesize

        84KB

      • memory/2620-17-0x0000000000850000-0x0000000000865000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/5112-2-0x0000000000640000-0x0000000000653000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/5112-9-0x0000000000640000-0x0000000000653000-memory.dmp

        Filesize

        76KB

      • memory/5112-8-0x0000000000400000-0x00000000004AF000-memory.dmp

        Filesize

        700KB

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

        Filesize

        1024KB