Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    31-12-2024 16:10

General

  • Target

    JaffaCakes118_27366070a9e038ef805b5c77ac0d5a89.exe

  • Size

    10.2MB

  • MD5

    27366070a9e038ef805b5c77ac0d5a89

  • SHA1

    89a4274725bb495bb762b803d14fce437990f081

  • SHA256

    76fa8299b49e3b8ebc0ba2cd18511e79296c56d876207d746d8da9e78309f290

  • SHA512

    9eac9bc09fd92a9d68eef35872b42a36d5ce9eb2d6fa5960d88791e12436eb55f4369f449b5cd89fa45e3d6e3fed63afc64dd831c17d11db42ff053c23570cd4

  • SSDEEP

    6144:VpZQC4h2Yaltbf2O133EhKew3Oj2GYdK:LZ8altbfDEhFCfG

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_27366070a9e038ef805b5c77ac0d5a89.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_27366070a9e038ef805b5c77ac0d5a89.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2076
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\isqdymoc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4120
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\lfoylotf.exe" C:\Windows\SysWOW64\isqdymoc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4412
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create isqdymoc binPath= "C:\Windows\SysWOW64\isqdymoc\lfoylotf.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_27366070a9e038ef805b5c77ac0d5a89.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2112
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description isqdymoc "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2388
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start isqdymoc
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:456
    • 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:3128
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2076 -s 640
      2⤵
      • Program crash
      PID:3656
  • C:\Windows\SysWOW64\isqdymoc\lfoylotf.exe
    C:\Windows\SysWOW64\isqdymoc\lfoylotf.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_27366070a9e038ef805b5c77ac0d5a89.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1376
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3532
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1376 -s 560
      2⤵
      • Program crash
      PID:2872
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 2076 -ip 2076
    1⤵
      PID:944
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 536 -p 1376 -ip 1376
      1⤵
        PID:4704

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.3MB

        MD5

        784dbaf28e4f19e9c132d3d0333d833f

        SHA1

        b0ea598a04c33492a07d24778c7452c186a5cb59

        SHA256

        7794dc97362fe0a43be3584251ffcf42e301f69b3b30ccac635fd24df46c104c

        SHA512

        a3de8c5122aa20146f0422a6b5adff7bb97fce7a198b1f9a2415db2a738edaaf1712e286b0660e81e5589e84fdd91880ba9ce686eee7e5401256230015b2eda4

      • memory/1376-12-0x0000000000400000-0x000000000044C000-memory.dmp

        Filesize

        304KB

      • memory/1376-11-0x0000000000400000-0x000000000044C000-memory.dmp

        Filesize

        304KB

      • memory/1376-13-0x0000000000400000-0x000000000044C000-memory.dmp

        Filesize

        304KB

      • memory/1376-18-0x0000000000400000-0x000000000044C000-memory.dmp

        Filesize

        304KB

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

        Filesize

        84KB

      • memory/2076-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2076-9-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/2076-8-0x0000000000400000-0x000000000044C000-memory.dmp

        Filesize

        304KB

      • memory/2076-1-0x0000000000640000-0x0000000000740000-memory.dmp

        Filesize

        1024KB

      • memory/3532-14-0x00000000007E0000-0x00000000007F5000-memory.dmp

        Filesize

        84KB

      • memory/3532-16-0x00000000007E0000-0x00000000007F5000-memory.dmp

        Filesize

        84KB

      • memory/3532-17-0x00000000007E0000-0x00000000007F5000-memory.dmp

        Filesize

        84KB