Analysis

  • max time kernel
    147s
  • 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
    21-12-2024 20:00

General

  • Target

    JaffaCakes118_8004d9880f148d86544d90cf8d516eefc8571561d1635c03bc91bbb10be11be6.exe

  • Size

    164KB

  • MD5

    7a78a6f842b330bc684cdda11ab74aa6

  • SHA1

    a82f763272099af37c783f84b3f8bc40c53a3baa

  • SHA256

    8004d9880f148d86544d90cf8d516eefc8571561d1635c03bc91bbb10be11be6

  • SHA512

    c9ec2869ee5eebcf0e35379c93c9266f84cac02d7f9d8957da3aea2daee088775d5fbec358e479202898561a2011a0c5b8ce909c62bc12b60f7271402eccddf8

  • SSDEEP

    3072:e6s43X9OdK9GTy0+FXwCj7DJ5AuwUbayCVyuS9H6p:en2OdO0cXwCj7TwUbayCQuEa

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\JaffaCakes118_8004d9880f148d86544d90cf8d516eefc8571561d1635c03bc91bbb10be11be6.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8004d9880f148d86544d90cf8d516eefc8571561d1635c03bc91bbb10be11be6.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2552
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rngodmn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4932
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rlueruzl.exe" C:\Windows\SysWOW64\rngodmn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2524
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create rngodmn binPath= "C:\Windows\SysWOW64\rngodmn\rlueruzl.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8004d9880f148d86544d90cf8d516eefc8571561d1635c03bc91bbb10be11be6.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:312
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description rngodmn "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:384
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start rngodmn
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4312
    • 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:5068
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2552 -s 1256
      2⤵
      • Program crash
      PID:1476
  • C:\Windows\SysWOW64\rngodmn\rlueruzl.exe
    C:\Windows\SysWOW64\rngodmn\rlueruzl.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8004d9880f148d86544d90cf8d516eefc8571561d1635c03bc91bbb10be11be6.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2632
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:5036
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2632 -s 516
      2⤵
      • Program crash
      PID:1484
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2552 -ip 2552
    1⤵
      PID:4228
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 528 -p 2632 -ip 2632
      1⤵
        PID:1988

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.3MB

        MD5

        c2ebe863bc7f38eb373691bf019a8c97

        SHA1

        243472f993fc3800bd1c3452490ac9f6198724df

        SHA256

        ba2f9ef54c818043201663f913aec7c86fad054ac0cc71f85040e1d96440c4b9

        SHA512

        413aa129289dcd3bf85171d8579172123994c331cbc10c3dc10d7923b5897fefe144f846034fbe1e798c0cc45636063a109b3fb259a73f918b42427c95d11645

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

        Filesize

        700KB

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

        Filesize

        84KB

      • memory/2552-1-0x00000000004B0000-0x00000000005B0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

      • memory/2552-9-0x00000000021F0000-0x0000000002203000-memory.dmp

        Filesize

        76KB

      • memory/2552-2-0x00000000021F0000-0x0000000002203000-memory.dmp

        Filesize

        76KB

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

        Filesize

        700KB

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

        Filesize

        700KB

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

        Filesize

        700KB

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

        Filesize

        700KB

      • memory/5036-14-0x00000000008F0000-0x0000000000905000-memory.dmp

        Filesize

        84KB

      • memory/5036-16-0x00000000008F0000-0x0000000000905000-memory.dmp

        Filesize

        84KB

      • memory/5036-17-0x00000000008F0000-0x0000000000905000-memory.dmp

        Filesize

        84KB