Analysis

  • max time kernel
    145s
  • 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
    30-12-2024 03:58

General

  • Target

    JaffaCakes118_f4b79a481b4b93b8ec807688718d4ef72427eb9fa810e549b2b29b55feaf482a.exe

  • Size

    241KB

  • MD5

    8866c6b22acbba4ab641339d23bdc9f3

  • SHA1

    8ac8ce69741105015d7810e5e0a59cad7316fc77

  • SHA256

    f4b79a481b4b93b8ec807688718d4ef72427eb9fa810e549b2b29b55feaf482a

  • SHA512

    029dca3423be718485ad36cab810e66ba7ae4294d63c4740e4187c3d458206cf08d344460684518b06351f31ceed64c35e6dfa76ff63b04631989631ab1569dc

  • SSDEEP

    3072:EQKPNMYekPTg1n87zaHWgODOwF0H2UyorPePEO/6AlXUH1v5hu5xspXrk:KPqic1n0WHgDORLkE87EVvP0xs

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_f4b79a481b4b93b8ec807688718d4ef72427eb9fa810e549b2b29b55feaf482a.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_f4b79a481b4b93b8ec807688718d4ef72427eb9fa810e549b2b29b55feaf482a.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2032
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mmhhfcjc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:396
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ugsaalai.exe" C:\Windows\SysWOW64\mmhhfcjc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4012
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create mmhhfcjc binPath= "C:\Windows\SysWOW64\mmhhfcjc\ugsaalai.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_f4b79a481b4b93b8ec807688718d4ef72427eb9fa810e549b2b29b55feaf482a.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2512
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description mmhhfcjc "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:220
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start mmhhfcjc
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1984
    • 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:4284
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2032 -s 1180
      2⤵
      • Program crash
      PID:3088
  • C:\Windows\SysWOW64\mmhhfcjc\ugsaalai.exe
    C:\Windows\SysWOW64\mmhhfcjc\ugsaalai.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_f4b79a481b4b93b8ec807688718d4ef72427eb9fa810e549b2b29b55feaf482a.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2416
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2252
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2416 -s 516
      2⤵
      • Program crash
      PID:4384
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 2032 -ip 2032
    1⤵
      PID:4544
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 416 -p 2416 -ip 2416
      1⤵
        PID:3564

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.0MB

        MD5

        993380e7a5979db1a079585dbcd23fc4

        SHA1

        a673de3161c5e43bb7e6725837774fd9e1fe7717

        SHA256

        201bd5579e2d116a9ae5250be292b9e94133283397087b047f53b1fe26adae15

        SHA512

        fba05dad66e77f3ab23ccd80d06bf7787b0e2bfe924b3e858e991d3d1365fd5cc4fc1e393ef3f963923b6792c949fe89d37b27aee4679da45c66274f3d62f87b

      • memory/2032-1-0x00000000009A0000-0x0000000000AA0000-memory.dmp

        Filesize

        1024KB

      • memory/2032-2-0x0000000000E00000-0x0000000000E13000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2032-9-0x0000000000E00000-0x0000000000E13000-memory.dmp

        Filesize

        76KB

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

        Filesize

        4.4MB

      • memory/2252-12-0x0000000000A10000-0x0000000000A25000-memory.dmp

        Filesize

        84KB

      • memory/2252-14-0x0000000000A10000-0x0000000000A25000-memory.dmp

        Filesize

        84KB

      • memory/2252-17-0x0000000000A10000-0x0000000000A25000-memory.dmp

        Filesize

        84KB

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

        Filesize

        4.4MB

      • memory/2416-15-0x0000000000400000-0x000000000086C000-memory.dmp

        Filesize

        4.4MB