Analysis

  • max time kernel
    147s
  • max time network
    152s
  • 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 23:31

General

  • Target

    JaffaCakes118_91afd4d395681d7acb2ca45e7a1817b3c828fad2e28e1c0ceaebb152176b20e1.exe

  • Size

    275KB

  • MD5

    063b2c711a6b8465d2a41d4d40f2ca44

  • SHA1

    3fd50df7aaba9b0d0bdbf6562edb27ddbf9c669d

  • SHA256

    91afd4d395681d7acb2ca45e7a1817b3c828fad2e28e1c0ceaebb152176b20e1

  • SHA512

    ccb06b5c65430058b8a59e707097fae94cd5a9318d031f01e5c27150ef6a53fb6c5778c238aa548cc52337c9b1a476c9f2d65d8c7854ac2bc53eab93584ae963

  • SSDEEP

    3072:Mhcq5Laho8fOlVrtL5A4b/JwPn/yWsDrj651/DLPM7+M/h3:AX5Lwlf6VnW3UUDLPM7+

Malware Config

Extracted

Family

tofsee

C2

patmushta.info

ovicrush.cn

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_91afd4d395681d7acb2ca45e7a1817b3c828fad2e28e1c0ceaebb152176b20e1.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_91afd4d395681d7acb2ca45e7a1817b3c828fad2e28e1c0ceaebb152176b20e1.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:536
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\molirgqf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1012
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ppnlyas.exe" C:\Windows\SysWOW64\molirgqf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2272
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create molirgqf binPath= "C:\Windows\SysWOW64\molirgqf\ppnlyas.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_91afd4d395681d7acb2ca45e7a1817b3c828fad2e28e1c0ceaebb152176b20e1.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1368
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description molirgqf "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:856
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start molirgqf
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3968
    • 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:1924
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 536 -s 672
      2⤵
      • Program crash
      PID:100
  • C:\Windows\SysWOW64\molirgqf\ppnlyas.exe
    C:\Windows\SysWOW64\molirgqf\ppnlyas.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_91afd4d395681d7acb2ca45e7a1817b3c828fad2e28e1c0ceaebb152176b20e1.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2216
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3048
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2216 -s 516
      2⤵
      • Program crash
      PID:3232
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 536 -ip 536
    1⤵
      PID:4792
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 436 -p 2216 -ip 2216
      1⤵
        PID:2692

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.1MB

        MD5

        a4e0a8d88ddd528165c6068222806d4d

        SHA1

        dca8603bf982b75e1593920f78ee7454416f55f1

        SHA256

        269c70845f1368543078fce21d2cabeb96fb928be55647e27b68753dbe606c51

        SHA512

        ab406a7fe1c8c269731b6e0a7ffcad42e7aa14157fb007f879f271b2ed783285fcb50d5c7266c5784892ca1f1ed94cd315fa176f3994a106aca32a9d6f00b999

      • memory/536-7-0x00000000004C0000-0x00000000004CD000-memory.dmp

        Filesize

        52KB

      • memory/536-2-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/536-1-0x00000000005D0000-0x00000000005E3000-memory.dmp

        Filesize

        76KB

      • memory/536-9-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/536-8-0x00000000005D0000-0x00000000005E3000-memory.dmp

        Filesize

        76KB

      • memory/536-0-0x00000000004C0000-0x00000000004CD000-memory.dmp

        Filesize

        52KB

      • memory/536-6-0x0000000000400000-0x000000000044C000-memory.dmp

        Filesize

        304KB

      • memory/2216-10-0x0000000000400000-0x000000000044C000-memory.dmp

        Filesize

        304KB

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

        Filesize

        304KB

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

        Filesize

        304KB

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

        Filesize

        304KB

      • memory/3048-13-0x0000000000C80000-0x0000000000C95000-memory.dmp

        Filesize

        84KB

      • memory/3048-15-0x0000000000C80000-0x0000000000C95000-memory.dmp

        Filesize

        84KB

      • memory/3048-16-0x0000000000C80000-0x0000000000C95000-memory.dmp

        Filesize

        84KB