Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    08-10-2024 14:34

General

  • Target

    2205ae0550b6a87f8198eeb63ddd82e5_JaffaCakes118.exe

  • Size

    11.0MB

  • MD5

    2205ae0550b6a87f8198eeb63ddd82e5

  • SHA1

    a4998cdd345d3763d89860241e55d318053605bd

  • SHA256

    d882cf922ed49c5c66a23925d4c102a3ca158adc11dcdabd18c0439fd8bc787b

  • SHA512

    e072de29ba82eef07ec403c73062d2a6c066aeedcb9861e5c2cd55917a076f3c2b07d152164ec2bcc68a2b5b6d9d94928768392234bd0b37959e467f1e8a268b

  • SSDEEP

    196608:gYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYX:gYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYX

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\2205ae0550b6a87f8198eeb63ddd82e5_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\2205ae0550b6a87f8198eeb63ddd82e5_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:376
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qdgbhrng\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3868
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qfsoazse.exe" C:\Windows\SysWOW64\qdgbhrng\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1316
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create qdgbhrng binPath= "C:\Windows\SysWOW64\qdgbhrng\qfsoazse.exe /d\"C:\Users\Admin\AppData\Local\Temp\2205ae0550b6a87f8198eeb63ddd82e5_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4428
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description qdgbhrng "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4620
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start qdgbhrng
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3836
    • 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:552
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 376 -s 1044
      2⤵
      • Program crash
      PID:1644
  • C:\Windows\SysWOW64\qdgbhrng\qfsoazse.exe
    C:\Windows\SysWOW64\qdgbhrng\qfsoazse.exe /d"C:\Users\Admin\AppData\Local\Temp\2205ae0550b6a87f8198eeb63ddd82e5_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4984
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1720
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4984 -s 516
      2⤵
      • Program crash
      PID:1888
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 376 -ip 376
    1⤵
      PID:3308
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 4984 -ip 4984
      1⤵
        PID:3240

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.3MB

        MD5

        fd04c66608a44f4979c17f7aa2b7b6f6

        SHA1

        903d6c81f2dcf3a4f5ab86389aa5ddd8b809ca20

        SHA256

        2e18a69132230cd24795c4b2a812cf5b7d8e6051918998777ba558268d9bbb65

        SHA512

        87e9d678ded130353291d6e8c2910648a53d17905a14856122a402187ee3e8ce9471b7a5c1b7ad59c343a8673c6a14bca75c5f83c5956e981f1e5ddcbda1bf4b

      • memory/376-8-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

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

        Filesize

        84KB

      • memory/376-2-0x00000000001D0000-0x00000000001E3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/376-9-0x00000000001D0000-0x00000000001E3000-memory.dmp

        Filesize

        76KB

      • memory/376-1-0x0000000000500000-0x0000000000600000-memory.dmp

        Filesize

        1024KB

      • memory/1720-14-0x0000000000B70000-0x0000000000B85000-memory.dmp

        Filesize

        84KB

      • memory/1720-16-0x0000000000B70000-0x0000000000B85000-memory.dmp

        Filesize

        84KB

      • memory/1720-17-0x0000000000B70000-0x0000000000B85000-memory.dmp

        Filesize

        84KB

      • memory/4984-11-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/4984-12-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/4984-13-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/4984-19-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB