Analysis

  • max time kernel
    149s
  • 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
    22-12-2024 04:26

General

  • Target

    JaffaCakes118_bba51f1f5aa9359c09d545bd9a10c10454aa2fcaa4ba70497622d2677b86a370.exe

  • Size

    285KB

  • MD5

    e28cff69f519d0af754a3d940fc736b5

  • SHA1

    4ac728fda3417f9c4a342630958e35ce2857258a

  • SHA256

    bba51f1f5aa9359c09d545bd9a10c10454aa2fcaa4ba70497622d2677b86a370

  • SHA512

    b0e267c138776d239524e0b3636a402333ff1c043974a89d9958a2664fc7b002dc4e0b49d346904ccc7bf47d77aab78ea19a5cde56be8b012ba061767300e83f

  • SSDEEP

    3072:HpRniCVH4yVDjZYm1/A3Rxn9CCD39S20kehy/mpxK/DnNyBJrar0JmCF6Ev:JRiC3Dj51/ABxngIWpc/pAVZF6E

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_bba51f1f5aa9359c09d545bd9a10c10454aa2fcaa4ba70497622d2677b86a370.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_bba51f1f5aa9359c09d545bd9a10c10454aa2fcaa4ba70497622d2677b86a370.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3932
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\srdzudkh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4028
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jqozeznb.exe" C:\Windows\SysWOW64\srdzudkh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1708
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create srdzudkh binPath= "C:\Windows\SysWOW64\srdzudkh\jqozeznb.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_bba51f1f5aa9359c09d545bd9a10c10454aa2fcaa4ba70497622d2677b86a370.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3780
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description srdzudkh "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2692
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start srdzudkh
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3772
    • 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:5052
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3932 -s 660
      2⤵
      • Program crash
      PID:1900
  • C:\Windows\SysWOW64\srdzudkh\jqozeznb.exe
    C:\Windows\SysWOW64\srdzudkh\jqozeznb.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_bba51f1f5aa9359c09d545bd9a10c10454aa2fcaa4ba70497622d2677b86a370.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:8
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4184
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 8 -s 532
      2⤵
      • Program crash
      PID:2908
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 3932 -ip 3932
    1⤵
      PID:1116
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 512 -p 8 -ip 8
      1⤵
        PID:4488

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.2MB

        MD5

        c2b351bfe3f25f341fcf01d153fafc2a

        SHA1

        debbd77834103679c0df9e89c361a783ee0dcaa5

        SHA256

        0cb95b050f0593fb087c50dac8e8e15144ece3c8bdec3502e79c7935871f5607

        SHA512

        beead9c36a26621b41fe8fa185f08ef9ae977fd9d2edd852e4e2f134cea59c67bc30d88e351d86edfec1cafe0ff4a7791f8b68eb6a65acbf2f9d25252cf121ed

      • memory/8-15-0x0000000000400000-0x0000000002B8F000-memory.dmp

        Filesize

        39.6MB

      • memory/3932-1-0x0000000002D10000-0x0000000002E10000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/3932-8-0x0000000000400000-0x0000000002B8F000-memory.dmp

        Filesize

        39.6MB

      • memory/4184-11-0x0000000000F70000-0x0000000000F85000-memory.dmp

        Filesize

        84KB

      • memory/4184-13-0x0000000000F70000-0x0000000000F85000-memory.dmp

        Filesize

        84KB

      • memory/4184-14-0x0000000000F70000-0x0000000000F85000-memory.dmp

        Filesize

        84KB