Analysis

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

    arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system
  • submitted
    21-04-2024 04:01

General

  • Target

    fe624503ac7e44c8dcf7931bee3d7628_JaffaCakes118.exe

  • Size

    14.7MB

  • MD5

    fe624503ac7e44c8dcf7931bee3d7628

  • SHA1

    e3750c0623555c8f7e1500825215d21a4a106319

  • SHA256

    dc29002568fbc6453ba1d57da0ecac5b759464026b4d3d110abc4daf36e7de00

  • SHA512

    96c6c25d2b2d7f8fc87a49a96c461ba2fb3e08f46795c4acd9999af1a7bd676fa07d5829d914f37a90516d3acef13b2e2f62530efb316a83ee04175da2248d6a

  • SSDEEP

    24576:Ogdy5yNM4444444444444444444444444444444444444444444444444444444U:

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.

  • 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\fe624503ac7e44c8dcf7931bee3d7628_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\fe624503ac7e44c8dcf7931bee3d7628_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:1404
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lzsfvonh\
      2⤵
        PID:2900
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ytdguffn.exe" C:\Windows\SysWOW64\lzsfvonh\
        2⤵
          PID:976
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create lzsfvonh binPath= "C:\Windows\SysWOW64\lzsfvonh\ytdguffn.exe /d\"C:\Users\Admin\AppData\Local\Temp\fe624503ac7e44c8dcf7931bee3d7628_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2272
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description lzsfvonh "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3280
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start lzsfvonh
          2⤵
          • Launches sc.exe
          PID:4804
        • 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:748
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1404 -s 580
          2⤵
          • Program crash
          PID:1288
      • C:\Windows\SysWOW64\lzsfvonh\ytdguffn.exe
        C:\Windows\SysWOW64\lzsfvonh\ytdguffn.exe /d"C:\Users\Admin\AppData\Local\Temp\fe624503ac7e44c8dcf7931bee3d7628_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2264
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:5044
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2264 -s 516
          2⤵
          • Program crash
          PID:3024
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 1404 -ip 1404
        1⤵
          PID:4364
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 2264 -ip 2264
          1⤵
            PID:2488

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            12.5MB

            MD5

            21aa401482855549b394189bada6fd74

            SHA1

            3216ed74a8960b96a8ee7180795f405a259fc838

            SHA256

            483c6c6bff464c7c062228098eb06132b187da238c629af921c571abd0fe901e

            SHA512

            44b15ec2e7e4953cf838ff938319b7db1fa4faab142a7adaf1eb4276f2b62b4f974a8826a7feeff6e86d38b5e2c1950eb2d8fb4a617927ce92bb1b2d50898d47

          • memory/1404-1-0x0000000000470000-0x0000000000570000-memory.dmp

            Filesize

            1024KB

          • memory/1404-2-0x0000000002190000-0x00000000021A3000-memory.dmp

            Filesize

            76KB

          • memory/1404-4-0x0000000000400000-0x0000000000456000-memory.dmp

            Filesize

            344KB

          • memory/1404-8-0x0000000000400000-0x0000000000456000-memory.dmp

            Filesize

            344KB

          • memory/1404-9-0x0000000002190000-0x00000000021A3000-memory.dmp

            Filesize

            76KB

          • memory/2264-10-0x00000000006E0000-0x00000000007E0000-memory.dmp

            Filesize

            1024KB

          • memory/2264-11-0x0000000000400000-0x0000000000456000-memory.dmp

            Filesize

            344KB

          • memory/2264-16-0x0000000000400000-0x0000000000456000-memory.dmp

            Filesize

            344KB

          • memory/5044-12-0x0000000000240000-0x0000000000255000-memory.dmp

            Filesize

            84KB

          • memory/5044-15-0x0000000000240000-0x0000000000255000-memory.dmp

            Filesize

            84KB

          • memory/5044-17-0x0000000000240000-0x0000000000255000-memory.dmp

            Filesize

            84KB

          • memory/5044-18-0x0000000000240000-0x0000000000255000-memory.dmp

            Filesize

            84KB