Analysis

  • max time kernel
    146s
  • max time network
    146s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    29-11-2024 10:08

General

  • Target

    b08871025feb002765a540f39b640fee_JaffaCakes118.exe

  • Size

    11.8MB

  • MD5

    b08871025feb002765a540f39b640fee

  • SHA1

    5d4c8973edab4863d5b70f9e01ac49099997476b

  • SHA256

    0fd540d43aaddcc641ea611c1622ea479425fbdaf9e37c7d2bd50a2e4379ed0d

  • SHA512

    d2293d5964b8181c03b107692ddb51b197ab74aeb84fe0f8fc299db7a1aa99193f920ec997108ccc6dfe05e725fd6dfc864d344b716cdc10a64da72410507629

  • SSDEEP

    49152:rGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGe:

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
  • Windows security bypass 2 TTPs 1 IoCs
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • 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 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\b08871025feb002765a540f39b640fee_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\b08871025feb002765a540f39b640fee_JaffaCakes118.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2148
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xfphfcap\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1984
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ehaigiqa.exe" C:\Windows\SysWOW64\xfphfcap\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2372
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create xfphfcap binPath= "C:\Windows\SysWOW64\xfphfcap\ehaigiqa.exe /d\"C:\Users\Admin\AppData\Local\Temp\b08871025feb002765a540f39b640fee_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2360
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description xfphfcap "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2724
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start xfphfcap
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2824
    • 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:2296
  • C:\Windows\SysWOW64\xfphfcap\ehaigiqa.exe
    C:\Windows\SysWOW64\xfphfcap\ehaigiqa.exe /d"C:\Users\Admin\AppData\Local\Temp\b08871025feb002765a540f39b640fee_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2752
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Windows security bypass
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2780

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.2MB

    MD5

    6f8e727592b8551f1d217bf95d02f0fc

    SHA1

    68c68234de9c428bb6fc420d61978d96a5d72986

    SHA256

    05ea768b5d329f6f89d5c11902f1472071adc79126140341196e7827c21d51d7

    SHA512

    790326eebf21116f3a3b2ee1bc01b72d6e84c5f4da216940eb79aa700c8a02264b06f979241708c97bb1a2b9630441c90fdc9bfaab28a142c6ab67c0d44ea00b

  • memory/2148-1-0x0000000000590000-0x0000000000690000-memory.dmp

    Filesize

    1024KB

  • memory/2148-3-0x0000000000400000-0x0000000000448000-memory.dmp

    Filesize

    288KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2148-9-0x0000000000400000-0x0000000000448000-memory.dmp

    Filesize

    288KB

  • memory/2752-15-0x0000000000400000-0x0000000000448000-memory.dmp

    Filesize

    288KB

  • memory/2780-14-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2780-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2780-11-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2780-17-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2780-18-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB