Analysis

  • max time kernel
    144s
  • 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
    25-12-2024 13:42

General

  • Target

    JaffaCakes118_0003316589f3abf4ca7e307a0ec2527965aa117c90defb7125946ebd926886ef.exe

  • Size

    241KB

  • MD5

    c6475e59ef21c4a191d2b0e3b5429960

  • SHA1

    c446c37461d9ac0c6d5ae79fe1c49e1d2584a81e

  • SHA256

    0003316589f3abf4ca7e307a0ec2527965aa117c90defb7125946ebd926886ef

  • SHA512

    c6e26c47dcf7f395058f86e62d5a7e8aae7a6fb87bf9e2feac8dd06927d25a69f68fbd71ffd965a8793dfeac65cd1824c4989cc0349594355ea207143ebf16c5

  • SSDEEP

    3072:c0GecS6S0PvgenevzaHWgtnu7F0kKUyo53YPwkQdaFg6JectfLMdB16NK1rnk:Ke7EQenCWHHnu1JYPR7FPJesfQf0U1

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_0003316589f3abf4ca7e307a0ec2527965aa117c90defb7125946ebd926886ef.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_0003316589f3abf4ca7e307a0ec2527965aa117c90defb7125946ebd926886ef.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3148
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\fbhtvwct\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4940
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\pwiversm.exe" C:\Windows\SysWOW64\fbhtvwct\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4924
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create fbhtvwct binPath= "C:\Windows\SysWOW64\fbhtvwct\pwiversm.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_0003316589f3abf4ca7e307a0ec2527965aa117c90defb7125946ebd926886ef.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1020
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description fbhtvwct "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1716
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start fbhtvwct
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3540
    • 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:2596
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3148 -s 1044
      2⤵
      • Program crash
      PID:4564
  • C:\Windows\SysWOW64\fbhtvwct\pwiversm.exe
    C:\Windows\SysWOW64\fbhtvwct\pwiversm.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_0003316589f3abf4ca7e307a0ec2527965aa117c90defb7125946ebd926886ef.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1676
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:232
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1676 -s 520
      2⤵
      • Program crash
      PID:224
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 3148 -ip 3148
    1⤵
      PID:4644
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 1676 -ip 1676
      1⤵
        PID:764

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.0MB

        MD5

        6523c01a73e24aa5d59850cabd9a4b13

        SHA1

        b4849951e755e8a6721a98368608813661d11b06

        SHA256

        ed245f0146d6fb581967f9a8f85bb4fde7274f5643ddcbd57c8a6a9bc312f1d6

        SHA512

        66bc768a286daba02296f8f8547e9119545610879e3a6feca6d12b7ca6297a3332b8899998269a19c7cf794e193049f464d906aa8819db274305ee780154af54

      • memory/232-13-0x0000000000920000-0x0000000000935000-memory.dmp

        Filesize

        84KB

      • memory/232-16-0x0000000000920000-0x0000000000935000-memory.dmp

        Filesize

        84KB

      • memory/232-15-0x0000000000920000-0x0000000000935000-memory.dmp

        Filesize

        84KB

      • memory/1676-11-0x0000000000400000-0x000000000086C000-memory.dmp

        Filesize

        4.4MB

      • memory/1676-12-0x0000000000400000-0x000000000086C000-memory.dmp

        Filesize

        4.4MB

      • memory/1676-18-0x0000000000400000-0x000000000086C000-memory.dmp

        Filesize

        4.4MB

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

        Filesize

        84KB

      • memory/3148-9-0x0000000000AC0000-0x0000000000AD3000-memory.dmp

        Filesize

        76KB

      • memory/3148-8-0x0000000000400000-0x000000000086C000-memory.dmp

        Filesize

        4.4MB

      • memory/3148-1-0x0000000000B10000-0x0000000000C10000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

      • memory/3148-2-0x0000000000AC0000-0x0000000000AD3000-memory.dmp

        Filesize

        76KB