Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    28-11-2024 07:39

General

  • Target

    ab87b84a0adc37db621ed3048349fe7c_JaffaCakes118.exe

  • Size

    14.0MB

  • MD5

    ab87b84a0adc37db621ed3048349fe7c

  • SHA1

    cc8688b7eeeb7a0655a98fa152e94d35f452aa73

  • SHA256

    1fa257f7b2a9e043722395250eb0e81fe3d467da15c75d97042948c1fac5edec

  • SHA512

    9195b86abd69d327c51e5424f329d99b6cd2454606597d3e925f76ff2606fadfeb81cb94abaa443c18e1b45ae868710390b76299dbc35744f8058dc9725a4d15

  • SSDEEP

    24576:6htJbmFQuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu3:DF

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
  • 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\ab87b84a0adc37db621ed3048349fe7c_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\ab87b84a0adc37db621ed3048349fe7c_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:5048
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\couhxhzz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1000
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\vqadrcck.exe" C:\Windows\SysWOW64\couhxhzz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2308
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create couhxhzz binPath= "C:\Windows\SysWOW64\couhxhzz\vqadrcck.exe /d\"C:\Users\Admin\AppData\Local\Temp\ab87b84a0adc37db621ed3048349fe7c_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:444
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description couhxhzz "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4748
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start couhxhzz
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1632
    • 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:992
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 5048 -s 656
      2⤵
      • Program crash
      PID:304
  • C:\Windows\SysWOW64\couhxhzz\vqadrcck.exe
    C:\Windows\SysWOW64\couhxhzz\vqadrcck.exe /d"C:\Users\Admin\AppData\Local\Temp\ab87b84a0adc37db621ed3048349fe7c_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4776
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4412
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4776 -s 508
      2⤵
      • Program crash
      PID:4520
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 5048 -ip 5048
    1⤵
      PID:4320
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 464 -p 4776 -ip 4776
      1⤵
        PID:620

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.1MB

        MD5

        967bc225559bd2f4383502cec49b99d6

        SHA1

        ce8b2a04326397e59f5c348026104b6ddcef9a14

        SHA256

        3de36318fbe58791ee37ee1ddeb0aa80b1c7b417ace8916d98ec8013bc552e7f

        SHA512

        93f01f181a57c41addf65de651c8915c2c819fda0d8e330041f726dcd89f757b5c537e02dec7ccc3bbc7dd11998e15364f695d1ae617c88686de23e6c4fb00e7

      • memory/4412-14-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4412-17-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4412-16-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4776-13-0x0000000000400000-0x0000000000456000-memory.dmp

        Filesize

        344KB

      • memory/4776-12-0x0000000000400000-0x0000000000456000-memory.dmp

        Filesize

        344KB

      • memory/4776-11-0x0000000000400000-0x0000000000456000-memory.dmp

        Filesize

        344KB

      • memory/4776-18-0x0000000000400000-0x0000000000456000-memory.dmp

        Filesize

        344KB

      • memory/5048-8-0x0000000000400000-0x0000000000456000-memory.dmp

        Filesize

        344KB

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

        Filesize

        84KB

      • memory/5048-1-0x00000000005C0000-0x00000000006C0000-memory.dmp

        Filesize

        1024KB

      • memory/5048-9-0x00000000021A0000-0x00000000021B3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/5048-2-0x00000000021A0000-0x00000000021B3000-memory.dmp

        Filesize

        76KB