Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    27-12-2024 01:25

General

  • Target

    JaffaCakes118_b53cde44f664b97dcdeb95e795a503bf1ea0459aec569e7fd720eae00465df00.exe

  • Size

    146KB

  • MD5

    35d2e76123aacdc2f711476cdf0fafc0

  • SHA1

    9836b00a794764404d6b67d31f0108cb32bdd6ec

  • SHA256

    b53cde44f664b97dcdeb95e795a503bf1ea0459aec569e7fd720eae00465df00

  • SHA512

    bcd513d186e8af75eeb350d62c2560efd59cc23018761936b2605f83921f39bac32cb5c052e380448eb35c372bd0f931a0338f1bef3ecbb93c2a0eba61ad290f

  • SSDEEP

    1536:yfISSdp/jPWfoqVxFY7VY0e4ahObF8OXkZh3uJp+Q7Jgz70J62CAWhJz:yFYpafoqZaLFLXkTqfPM2CA8Jz

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_b53cde44f664b97dcdeb95e795a503bf1ea0459aec569e7fd720eae00465df00.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b53cde44f664b97dcdeb95e795a503bf1ea0459aec569e7fd720eae00465df00.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\pufyxacf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1752
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\mgpzmpug.exe" C:\Windows\SysWOW64\pufyxacf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4568
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create pufyxacf binPath= "C:\Windows\SysWOW64\pufyxacf\mgpzmpug.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b53cde44f664b97dcdeb95e795a503bf1ea0459aec569e7fd720eae00465df00.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:412
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description pufyxacf "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:656
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start pufyxacf
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2804
    • 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:1488
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2552 -s 1244
      2⤵
      • Program crash
      PID:816
  • C:\Windows\SysWOW64\pufyxacf\mgpzmpug.exe
    C:\Windows\SysWOW64\pufyxacf\mgpzmpug.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b53cde44f664b97dcdeb95e795a503bf1ea0459aec569e7fd720eae00465df00.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3668
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:808
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3668 -s 508
      2⤵
      • Program crash
      PID:4252
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 2552 -ip 2552
    1⤵
      PID:4248
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 3668 -ip 3668
      1⤵
        PID:1232

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.6MB

        MD5

        736937fdc3b97a9735be1537c54527e8

        SHA1

        98bf927af23c139def28eddc9b548db3a058adf3

        SHA256

        e7cc49fe6f9c9e0fafc3f6f00bd58fa8b4fbf8f8ad7656f52a5bd63b35095708

        SHA512

        48794de87d1d1a1986a05f8526618f6d9ce285ed622aa8baa358903d3b09fa12bb8e8a43a9450dc529ba9e444f7ed7ce6065a9a0174554cca0b8a59cda5c4af9

      • memory/808-14-0x0000000001290000-0x00000000012A5000-memory.dmp

        Filesize

        84KB

      • memory/808-17-0x0000000001290000-0x00000000012A5000-memory.dmp

        Filesize

        84KB

      • memory/808-16-0x0000000001290000-0x00000000012A5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        684KB

      • memory/2552-9-0x0000000000650000-0x0000000000663000-memory.dmp

        Filesize

        76KB

      • memory/2552-1-0x0000000000690000-0x0000000000790000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2552-2-0x0000000000650000-0x0000000000663000-memory.dmp

        Filesize

        76KB

      • memory/3668-11-0x0000000000400000-0x00000000004AB000-memory.dmp

        Filesize

        684KB

      • memory/3668-12-0x0000000000400000-0x00000000004AB000-memory.dmp

        Filesize

        684KB

      • memory/3668-13-0x0000000000400000-0x00000000004AB000-memory.dmp

        Filesize

        684KB

      • memory/3668-18-0x0000000000400000-0x00000000004AB000-memory.dmp

        Filesize

        684KB