Analysis

  • max time kernel
    142s
  • max time network
    146s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240226-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    07-05-2024 14:55

General

  • Target

    20de026bf4998364c894a00f7a97df60_JaffaCakes118.exe

  • Size

    99KB

  • MD5

    20de026bf4998364c894a00f7a97df60

  • SHA1

    9db4857e4894082aa77c5f5b82009f2028f8fc51

  • SHA256

    7f8cb81aabb63a3bb8806b9c055582bec59ef104362316dc164dd686128b9246

  • SHA512

    10894d234217ba24391d5de14e40908cfb13ae367e943b34fafad9c6bd5caa937501f1db04ee43127171d40d7d185fa09cf3de8f765b89aa706272ee6c0596dc

  • SSDEEP

    1536:R33ZAoU8Ed7fzXfQFlj8+6a+Vpvy/eKaO/VChHWNvw0+pDi8P19Exk:hZ3EZf6A+6a+Vpvy/ead22KHDDPEa

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) 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).

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\20de026bf4998364c894a00f7a97df60_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\20de026bf4998364c894a00f7a97df60_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:3672
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\tckcfyph\
      2⤵
        PID:4488
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\oikhbxhm.exe" C:\Windows\SysWOW64\tckcfyph\
        2⤵
          PID:4188
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create tckcfyph binPath= "C:\Windows\SysWOW64\tckcfyph\oikhbxhm.exe /d\"C:\Users\Admin\AppData\Local\Temp\20de026bf4998364c894a00f7a97df60_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3596
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description tckcfyph "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3740
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start tckcfyph
          2⤵
          • Launches sc.exe
          PID:3328
        • 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:4524
      • C:\Windows\SysWOW64\tckcfyph\oikhbxhm.exe
        C:\Windows\SysWOW64\tckcfyph\oikhbxhm.exe /d"C:\Users\Admin\AppData\Local\Temp\20de026bf4998364c894a00f7a97df60_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:400
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:2400
      • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
        "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --no-appcompat-clear --mojo-platform-channel-handle=4160 --field-trial-handle=3084,i,4016110471176367543,14287608422419064331,262144 --variations-seed-version /prefetch:8
        1⤵
          PID:2180

        Network

        MITRE ATT&CK Matrix ATT&CK v13

        Execution

        System Services

        1
        T1569

        Service Execution

        1
        T1569.002

        Persistence

        Create or Modify System Process

        2
        T1543

        Windows Service

        2
        T1543.003

        Boot or Logon Autostart Execution

        1
        T1547

        Registry Run Keys / Startup Folder

        1
        T1547.001

        Privilege Escalation

        Create or Modify System Process

        2
        T1543

        Windows Service

        2
        T1543.003

        Boot or Logon Autostart Execution

        1
        T1547

        Registry Run Keys / Startup Folder

        1
        T1547.001

        Defense Evasion

        Impair Defenses

        1
        T1562

        Disable or Modify System Firewall

        1
        T1562.004

        Modify Registry

        1
        T1112

        Discovery

        Query Registry

        1
        T1012

        System Information Discovery

        2
        T1082

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        • C:\Users\Admin\AppData\Local\Temp\oikhbxhm.exe
          Filesize

          12.6MB

          MD5

          b8d5a6092bd7805b2675e79e19f7ace3

          SHA1

          645316b40bf484703a4db664f8c2a5a9b6deab87

          SHA256

          cfca296ad672d08018a05bab61e28e155549a9e513e2876eddb3207c5e3ccf6e

          SHA512

          17e163b0b7984bf478823ebac6b42b4f0b07818fe589eb0bd3608c1e0a357af1e9eafedee6313e927b3f900b7366c661110721fd6b0e002f4e4ecd3d1830156d

        • memory/400-8-0x0000000000400000-0x000000000041C000-memory.dmp
          Filesize

          112KB

        • memory/400-7-0x0000000000920000-0x0000000000921000-memory.dmp
          Filesize

          4KB

        • memory/400-10-0x0000000000400000-0x000000000041C000-memory.dmp
          Filesize

          112KB

        • memory/2400-9-0x0000000000790000-0x00000000007A5000-memory.dmp
          Filesize

          84KB

        • memory/2400-12-0x0000000000790000-0x00000000007A5000-memory.dmp
          Filesize

          84KB

        • memory/2400-13-0x0000000000790000-0x00000000007A5000-memory.dmp
          Filesize

          84KB

        • memory/3672-0-0x0000000000B20000-0x0000000000B21000-memory.dmp
          Filesize

          4KB

        • memory/3672-1-0x0000000000400000-0x000000000041C000-memory.dmp
          Filesize

          112KB

        • memory/3672-2-0x0000000000450000-0x0000000000451000-memory.dmp
          Filesize

          4KB

        • memory/3672-5-0x0000000000400000-0x000000000041C000-memory.dmp
          Filesize

          112KB