Analysis

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

    arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system
  • submitted
    16-04-2024 18:31

General

  • Target

    f41244b3df60d807930f4c7b3096d0a7_JaffaCakes118.exe

  • Size

    14.3MB

  • MD5

    f41244b3df60d807930f4c7b3096d0a7

  • SHA1

    d0cbe5f91f407229da11bcd1cf3950544310987a

  • SHA256

    3310aa6e6f635f3e3610e897d48323758555304bd7bfa2c77473a2119cef2f86

  • SHA512

    31238ef37c39bedd4582ed9eb72aa6df2fad87ddbdae1f14803d0c58ab4b9de1c96c9140cdfc4d9ff11d06bab43abb2d9fd59bd798edb7abfae6a3d2b473531a

  • SSDEEP

    49152:xM+SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSn:x

Malware Config

Extracted

Family

tofsee

C2

43.231.4.7

lazystax.ru

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Creates new service(s) 1 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).

  • Program crash 2 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\f41244b3df60d807930f4c7b3096d0a7_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f41244b3df60d807930f4c7b3096d0a7_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:3136
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pjboveil\
      2⤵
        PID:752
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gpjogfaw.exe" C:\Windows\SysWOW64\pjboveil\
        2⤵
          PID:1460
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create pjboveil binPath= "C:\Windows\SysWOW64\pjboveil\gpjogfaw.exe /d\"C:\Users\Admin\AppData\Local\Temp\f41244b3df60d807930f4c7b3096d0a7_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4688
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description pjboveil "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2728
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start pjboveil
          2⤵
          • Launches sc.exe
          PID:1900
        • 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
          PID:2960
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3136 -s 1044
          2⤵
          • Program crash
          PID:4036
      • C:\Windows\SysWOW64\pjboveil\gpjogfaw.exe
        C:\Windows\SysWOW64\pjboveil\gpjogfaw.exe /d"C:\Users\Admin\AppData\Local\Temp\f41244b3df60d807930f4c7b3096d0a7_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2532
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:2752
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2532 -s 512
          2⤵
          • Program crash
          PID:3356
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 472 -p 3136 -ip 3136
        1⤵
          PID:3976
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 2532 -ip 2532
          1⤵
            PID:964

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            13.2MB

            MD5

            3eb826c56afd720532fe1a5aca415d1d

            SHA1

            dc50971a33cce510d331ce7990b18fb3197635dd

            SHA256

            f858a382cc50286aaae16e7474212fb25770af4168eb197a8d4f8d5e9e755438

            SHA512

            6dda1143953f039024fea1812344e794a80ba557e61af62fce38dfcaf61b99e03d792b9ffdb57f2b64e117daaceee6121c5884cb47686e0be62f8e240d657480

          • memory/2532-10-0x00000000005A0000-0x00000000006A0000-memory.dmp

            Filesize

            1024KB

          • memory/2532-11-0x0000000000400000-0x0000000000466000-memory.dmp

            Filesize

            408KB

          • memory/2532-18-0x0000000000400000-0x0000000000466000-memory.dmp

            Filesize

            408KB

          • memory/2752-12-0x0000000000C40000-0x0000000000C55000-memory.dmp

            Filesize

            84KB

          • memory/2752-15-0x0000000000C40000-0x0000000000C55000-memory.dmp

            Filesize

            84KB

          • memory/2752-16-0x0000000000C40000-0x0000000000C55000-memory.dmp

            Filesize

            84KB

          • memory/2752-17-0x0000000000C40000-0x0000000000C55000-memory.dmp

            Filesize

            84KB

          • memory/2752-19-0x0000000000C40000-0x0000000000C55000-memory.dmp

            Filesize

            84KB

          • memory/3136-3-0x0000000000400000-0x0000000000466000-memory.dmp

            Filesize

            408KB

          • memory/3136-2-0x0000000000600000-0x0000000000613000-memory.dmp

            Filesize

            76KB

          • memory/3136-7-0x0000000000400000-0x0000000000466000-memory.dmp

            Filesize

            408KB

          • memory/3136-8-0x0000000000600000-0x0000000000613000-memory.dmp

            Filesize

            76KB

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

            Filesize

            1024KB