Resubmissions

03-07-2024 16:04

240703-thygmaycpc 10

01-07-2024 18:12

240701-ws6xvswbkj 10

01-07-2024 18:03

240701-wm5sls1gka 10

01-07-2024 18:03

240701-wm39sa1gjf 10

01-07-2024 18:03

240701-wm2e7avhkj 10

01-07-2024 18:03

240701-wmzxcs1fre 10

01-07-2024 18:02

240701-wmzats1frc 10

01-07-2024 18:02

240701-wmvbwa1fqh 10

22-11-2023 17:02

231122-vkac9adg64 10

Analysis

  • max time kernel
    1803s
  • max time network
    447s
  • platform
    windows10_x64
  • resource
    win10v20201028
  • submitted
    19-11-2020 13:14

General

  • Target

    Magic_File_v3_keygen_by_KeygenNinja.exe

Malware Config

Signatures

  • Pony,Fareit

    Pony is a Remote Access Trojan application that steals information.

  • Nirsoft 6 IoCs
  • ReZer0 packer 1 IoCs

    Detects ReZer0, a packer with multiple versions used in various campaigns.

  • Blocklisted process makes network request 1 IoCs
  • Executes dropped EXE 18 IoCs
  • UPX packed file 4 IoCs

    Detects executables packed with UPX/modified UPX open source packer.

  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Reads data files stored by FTP clients 2 TTPs

    Tries to access configuration files associated with programs like FileZilla.

  • Reads user/profile data of web browsers 2 TTPs

    Infostealers often target stored browser data, which can include saved credentials etc.

  • Accesses cryptocurrency files/wallets, possible credential harvesting 2 TTPs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Checks installed software on the system 1 TTPs

    Looks up Uninstall key entries in the registry to enumerate software on the system.

  • Checks whether UAC is enabled 1 TTPs 2 IoCs
  • Legitimate hosting services abused for malware hosting/C2 1 TTPs
  • Looks up external IP address via web service 1 IoCs

    Uses a legitimate IP lookup service to find the infected system's external IP.

  • Writes to the Master Boot Record (MBR) 1 TTPs 2 IoCs

    Bootkits write to the MBR to gain persistence at a level below the operating system.

  • Suspicious use of NtSetInformationThreadHideFromDebugger 1 IoCs
  • Suspicious use of SetThreadContext 6 IoCs
  • Drops file in Windows directory 1 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s). Likely ransomware behaviour.

  • Program crash 1 IoCs
  • Kills process with taskkill 2 IoCs
  • Modifies Internet Explorer settings 1 TTPs 3 IoCs
  • Modifies registry class 64 IoCs
  • Runs ping.exe 1 TTPs 3 IoCs
  • Suspicious behavior: EnumeratesProcesses 27 IoCs
  • Suspicious behavior: MapViewOfSection 2 IoCs
  • Suspicious use of AdjustPrivilegeToken 58 IoCs
  • Suspicious use of SetWindowsHookEx 10 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\Magic_File_v3_keygen_by_KeygenNinja.exe
    "C:\Users\Admin\AppData\Local\Temp\Magic_File_v3_keygen_by_KeygenNinja.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:912
    • C:\Windows\SysWOW64\cmd.exe
      C:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Local\Temp\RarSFX0\keygen.bat" "
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:196
      • C:\Users\Admin\AppData\Local\Temp\RarSFX0\keygen-pr.exe
        keygen-pr.exe -p83fsase3Ge
        3⤵
        • Executes dropped EXE
        • Suspicious use of WriteProcessMemory
        PID:3284
        • C:\Users\Admin\AppData\Local\Temp\RarSFX1\key.exe
          "C:\Users\Admin\AppData\Local\Temp\RarSFX1\key.exe"
          4⤵
          • Executes dropped EXE
          • Suspicious use of SetThreadContext
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          • Suspicious use of WriteProcessMemory
          PID:2052
          • C:\Users\Admin\AppData\Local\Temp\RarSFX1\key.exe
            C:\Users\Admin\AppData\Local\Temp\RarSFX1\key.exe -txt -scanlocal -file:potato.dat
            5⤵
            • Executes dropped EXE
            PID:4084
      • C:\Users\Admin\AppData\Local\Temp\RarSFX0\keygen-step-3.exe
        keygen-step-3.exe
        3⤵
        • Executes dropped EXE
        • Suspicious use of WriteProcessMemory
        PID:3596
        • C:\Windows\SysWOW64\cmd.exe
          cmd.exe /C ping 1.1.1.1 -n 1 -w 3000 > Nul & Del /f /q "C:\Users\Admin\AppData\Local\Temp\RarSFX0\keygen-step-3.exe"
          4⤵
          • Suspicious use of WriteProcessMemory
          PID:3904
          • C:\Windows\SysWOW64\PING.EXE
            ping 1.1.1.1 -n 1 -w 3000
            5⤵
            • Runs ping.exe
            PID:1476
      • C:\Users\Admin\AppData\Local\Temp\RarSFX0\keygen-step-4.exe
        keygen-step-4.exe
        3⤵
        • Executes dropped EXE
        • Suspicious use of WriteProcessMemory
        PID:3908
        • C:\Users\Admin\AppData\Local\Temp\RarSFX2\Setup.exe
          "C:\Users\Admin\AppData\Local\Temp\RarSFX2\Setup.exe"
          4⤵
          • Executes dropped EXE
          • Checks whether UAC is enabled
          • Writes to the Master Boot Record (MBR)
          • Suspicious use of NtSetInformationThreadHideFromDebugger
          • Suspicious use of SetThreadContext
          • Suspicious use of WriteProcessMemory
          PID:984
          • C:\Windows\SysWOW64\rundll32.exe
            C:\Windows\system32\rundll32.exe 001 install5
            5⤵
            • Blocklisted process makes network request
            • Writes to the Master Boot Record (MBR)
            • Suspicious use of WriteProcessMemory
            PID:200
            • C:\Users\Admin\AppData\Roaming\1605791984389.exe
              "C:\Users\Admin\AppData\Roaming\1605791984389.exe" /sjson "C:\Users\Admin\AppData\Roaming\1605791984389.txt"
              6⤵
              • Executes dropped EXE
              • Suspicious behavior: EnumeratesProcesses
              PID:864
            • C:\Users\Admin\AppData\Roaming\1605791987088.exe
              "C:\Users\Admin\AppData\Roaming\1605791987088.exe" /sjson "C:\Users\Admin\AppData\Roaming\1605791987088.txt"
              6⤵
              • Executes dropped EXE
              • Suspicious behavior: EnumeratesProcesses
              PID:4220
          • C:\Windows\SysWOW64\rundll32.exe
            C:\Windows\system32\rundll32.exe 002 install5
            5⤵
              PID:1716
              • C:\Windows\SysWOW64\cmd.exe
                cmd.exe /c taskkill /f /im chrome.exe
                6⤵
                  PID:3444
                  • C:\Windows\SysWOW64\taskkill.exe
                    taskkill /f /im chrome.exe
                    7⤵
                    • Kills process with taskkill
                    • Suspicious use of AdjustPrivilegeToken
                    PID:2144
                • C:\Windows\SysWOW64\cmd.exe
                  cmd.exe /c taskkill /f /im firefox.exe
                  6⤵
                    PID:796
                    • C:\Windows\SysWOW64\taskkill.exe
                      taskkill /f /im firefox.exe
                      7⤵
                      • Kills process with taskkill
                      • Suspicious use of AdjustPrivilegeToken
                      PID:2120
                • C:\Windows\SysWOW64\rundll32.exe
                  C:\Windows\system32\rundll32.exe 003 install5
                  5⤵
                  • Suspicious use of SetThreadContext
                  PID:568
                  • C:\Windows\SysWOW64\rundll32.exe
                    "C:\Windows\system32\rundll32.exe"
                    6⤵
                    • Suspicious use of SetWindowsHookEx
                    PID:4252
                • C:\Windows\SysWOW64\cmd.exe
                  cmd /c ping 127.0.0.1 -n 3 & del "C:\Users\Admin\AppData\Local\Temp\RarSFX2\Setup.exe"
                  5⤵
                    PID:2004
                    • C:\Windows\SysWOW64\PING.EXE
                      ping 127.0.0.1 -n 3
                      6⤵
                      • Runs ping.exe
                      PID:696
                • C:\Users\Admin\AppData\Local\Temp\RarSFX2\BTRSetp.exe
                  "C:\Users\Admin\AppData\Local\Temp\RarSFX2\BTRSetp.exe"
                  4⤵
                  • Executes dropped EXE
                  • Suspicious use of SetThreadContext
                  • Suspicious behavior: EnumeratesProcesses
                  • Suspicious use of AdjustPrivilegeToken
                  PID:1440
                  • C:\Users\Admin\AppData\Local\Temp\RarSFX2\BTRSetp.exe
                    "{path}"
                    5⤵
                    • Executes dropped EXE
                    PID:4364
                  • C:\Users\Admin\AppData\Local\Temp\RarSFX2\BTRSetp.exe
                    "{path}"
                    5⤵
                    • Executes dropped EXE
                    PID:4376
                    • C:\Windows\SysWOW64\WerFault.exe
                      C:\Windows\SysWOW64\WerFault.exe -u -p 4376 -s 1408
                      6⤵
                      • Program crash
                      • Suspicious behavior: EnumeratesProcesses
                      • Suspicious use of AdjustPrivilegeToken
                      PID:4536
                • C:\Users\Admin\AppData\Local\Temp\RarSFX2\juppp.exe
                  "C:\Users\Admin\AppData\Local\Temp\RarSFX2\juppp.exe"
                  4⤵
                  • Executes dropped EXE
                  • Adds Run key to start application
                  PID:4396
                  • C:\Users\Admin\AppData\Local\Temp\jfiag_gg.exe
                    C:\Users\Admin\AppData\Local\Temp\jfiag_gg.exe /scookiestxt C:\Users\Admin\AppData\Local\Temp\fjgha23_fa.txt
                    5⤵
                    • Executes dropped EXE
                    PID:4480
                  • C:\Users\Admin\AppData\Local\Temp\jfiag_gg.exe
                    C:\Users\Admin\AppData\Local\Temp\jfiag_gg.exe /scookiestxt C:\Users\Admin\AppData\Local\Temp\fjgha23_fa.txt
                    5⤵
                    • Executes dropped EXE
                    • Suspicious behavior: EnumeratesProcesses
                    PID:4608
                • C:\Users\Admin\AppData\Local\Temp\RarSFX2\id6.exe
                  "C:\Users\Admin\AppData\Local\Temp\RarSFX2\id6.exe"
                  4⤵
                  • Executes dropped EXE
                  • Suspicious use of SetWindowsHookEx
                  PID:4684
                  • C:\Users\Admin\AppData\Local\Temp\RarSFX2\lcx.exe
                    lcx.exe version2.txt
                    5⤵
                    • Executes dropped EXE
                    PID:4736
                • C:\Users\Admin\AppData\Local\Temp\RarSFX2\setup_full.exe
                  "C:\Users\Admin\AppData\Local\Temp\RarSFX2\setup_full.exe"
                  4⤵
                  • Executes dropped EXE
                  PID:816
                  • C:\Windows\SysWOW64\cmd.exe
                    cmd.exe /C ping 1.1.1.1 -n 1 -w 3000 > Nul & Del /f /q "C:\Users\Admin\AppData\Local\Temp\RarSFX2\setup_full.exe"
                    5⤵
                      PID:2056
                      • C:\Windows\SysWOW64\PING.EXE
                        ping 1.1.1.1 -n 1 -w 3000
                        6⤵
                        • Runs ping.exe
                        PID:1212
                  • C:\Windows\SysWOW64\cmd.exe
                    C:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Local\Temp\RarSFX2\DreamTrips.bat" "
                    4⤵
                    • Checks computer location settings
                    PID:1428
                  • C:\Users\Admin\AppData\Local\Temp\RarSFX2\wyfdggaa.exe
                    "C:\Users\Admin\AppData\Local\Temp\RarSFX2\wyfdggaa.exe"
                    4⤵
                    • Executes dropped EXE
                    • Checks whether UAC is enabled
                    • Suspicious use of AdjustPrivilegeToken
                    • Suspicious use of SetWindowsHookEx
                    PID:4408
            • C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdge.exe
              "C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdge.exe" -ServerName:MicrosoftEdge.AppXdnhjhccw3zf0j06tkg3jtqr00qdm0khc.mca
              1⤵
              • Drops file in Windows directory
              • Modifies Internet Explorer settings
              • Modifies registry class
              • Suspicious use of AdjustPrivilegeToken
              • Suspicious use of SetWindowsHookEx
              PID:4312
            • C:\Windows\system32\browser_broker.exe
              C:\Windows\system32\browser_broker.exe -Embedding
              1⤵
              • Modifies Internet Explorer settings
              PID:3840
            • C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdgeCP.exe
              "C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdgeCP.exe" -ServerName:ContentProcess.AppX6z3cwk4fvgady6zya12j1cw28d228a7k.mca
              1⤵
              • Modifies registry class
              • Suspicious behavior: MapViewOfSection
              • Suspicious use of SetWindowsHookEx
              PID:3820
            • C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdgeCP.exe
              "C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdgeCP.exe" -ServerName:ContentProcess.AppX6z3cwk4fvgady6zya12j1cw28d228a7k.mca
              1⤵
              • Modifies Internet Explorer settings
              • Modifies registry class
              • Suspicious use of AdjustPrivilegeToken
              PID:4696
            • C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdgeCP.exe
              "C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdgeCP.exe" -ServerName:ContentProcess.AppX6z3cwk4fvgady6zya12j1cw28d228a7k.mca
              1⤵
              • Modifies registry class
              • Suspicious use of AdjustPrivilegeToken
              PID:1896
            • C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdgeCP.exe
              "C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdgeCP.exe" -ServerName:ContentProcess.AppX6z3cwk4fvgady6zya12j1cw28d228a7k.mca
              1⤵
              • Modifies registry class
              PID:3648
            • C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdgeCP.exe
              "C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdgeCP.exe" -ServerName:ContentProcess.AppX6z3cwk4fvgady6zya12j1cw28d228a7k.mca
              1⤵
              • Modifies registry class
              PID:4720

            Network

            MITRE ATT&CK Enterprise v6

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            • memory/200-31-0x0000000010000000-0x00000000101FE000-memory.dmp

              Filesize

              2.0MB

            • memory/200-32-0x00000000045B0000-0x00000000047A0000-memory.dmp

              Filesize

              1.9MB

            • memory/568-41-0x0000000004370000-0x0000000004560000-memory.dmp

              Filesize

              1.9MB

            • memory/984-28-0x0000000010000000-0x0000000010196000-memory.dmp

              Filesize

              1.6MB

            • memory/984-23-0x0000000073FE0000-0x0000000074073000-memory.dmp

              Filesize

              588KB

            • memory/1440-57-0x0000000004F90000-0x0000000004F91000-memory.dmp

              Filesize

              4KB

            • memory/1440-54-0x00000000027E0000-0x00000000027F7000-memory.dmp

              Filesize

              92KB

            • memory/1440-47-0x0000000071220000-0x000000007190E000-memory.dmp

              Filesize

              6.9MB

            • memory/1440-65-0x0000000004DD0000-0x0000000004DD9000-memory.dmp

              Filesize

              36KB

            • memory/1440-66-0x0000000005A50000-0x0000000005A51000-memory.dmp

              Filesize

              4KB

            • memory/1440-49-0x0000000000520000-0x0000000000521000-memory.dmp

              Filesize

              4KB

            • memory/1440-52-0x0000000004DE0000-0x0000000004DE1000-memory.dmp

              Filesize

              4KB

            • memory/1440-55-0x0000000002800000-0x000000000280B000-memory.dmp

              Filesize

              44KB

            • memory/1716-36-0x0000000004280000-0x0000000004470000-memory.dmp

              Filesize

              1.9MB

            • memory/4084-27-0x0000000000400000-0x0000000000983000-memory.dmp

              Filesize

              5.5MB

            • memory/4084-24-0x0000000000400000-0x0000000000983000-memory.dmp

              Filesize

              5.5MB

            • memory/4252-63-0x0000000010000000-0x0000000010051000-memory.dmp

              Filesize

              324KB

            • memory/4376-68-0x0000000000400000-0x0000000000405000-memory.dmp

              Filesize

              20KB

            • memory/4376-72-0x0000000000400000-0x0000000000405000-memory.dmp

              Filesize

              20KB

            • memory/4536-78-0x0000000004740000-0x0000000004741000-memory.dmp

              Filesize

              4KB

            • memory/4536-189-0x0000000005430000-0x0000000005431000-memory.dmp

              Filesize

              4KB

            • memory/4536-91-0x0000000005340000-0x0000000005341000-memory.dmp

              Filesize

              4KB

            • memory/4736-242-0x0000000010000000-0x00000000100E3000-memory.dmp

              Filesize

              908KB