Resubmissions

12-11-2021 18:04

211112-wnzb8aahhm 10

19-11-2020 10:08

201119-rhwlt38jrx 10

18-11-2020 17:26

201118-htd4fq29va 10

Analysis

  • max time kernel
    447s
  • max time network
    449s
  • platform
    windows10_x64
  • resource
    win10v20201028
  • submitted
    18-11-2020 17:26

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 17 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 24 IoCs
  • Suspicious behavior: MapViewOfSection 2 IoCs
  • Suspicious use of AdjustPrivilegeToken 55 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:4744
    • 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:3220
      • C:\Users\Admin\AppData\Local\Temp\RarSFX0\keygen-pr.exe
        keygen-pr.exe -p83fsase3Ge
        3⤵
        • Executes dropped EXE
        • Suspicious use of WriteProcessMemory
        PID:4080
        • 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:1572
          • 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:2172
      • C:\Users\Admin\AppData\Local\Temp\RarSFX0\keygen-step-3.exe
        keygen-step-3.exe
        3⤵
        • Executes dropped EXE
        • Suspicious use of WriteProcessMemory
        PID:2076
        • 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:4512
          • C:\Windows\SysWOW64\PING.EXE
            ping 1.1.1.1 -n 1 -w 3000
            5⤵
            • Runs ping.exe
            PID:1468
      • C:\Users\Admin\AppData\Local\Temp\RarSFX0\keygen-step-4.exe
        keygen-step-4.exe
        3⤵
        • Executes dropped EXE
        • Suspicious use of WriteProcessMemory
        PID:4424
        • 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:1968
          • 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)
            PID:3136
            • C:\Users\Admin\AppData\Roaming\1605720737643.exe
              "C:\Users\Admin\AppData\Roaming\1605720737643.exe" /sjson "C:\Users\Admin\AppData\Roaming\1605720737643.txt"
              6⤵
              • Executes dropped EXE
              • Suspicious behavior: EnumeratesProcesses
              PID:2872
            • C:\Users\Admin\AppData\Roaming\1605720740956.exe
              "C:\Users\Admin\AppData\Roaming\1605720740956.exe" /sjson "C:\Users\Admin\AppData\Roaming\1605720740956.txt"
              6⤵
              • Executes dropped EXE
              • Suspicious behavior: EnumeratesProcesses
              PID:5040
          • C:\Windows\SysWOW64\rundll32.exe
            C:\Windows\system32\rundll32.exe 002 install5
            5⤵
            • Suspicious use of WriteProcessMemory
            PID:3696
            • C:\Windows\SysWOW64\cmd.exe
              cmd.exe /c taskkill /f /im chrome.exe
              6⤵
                PID:4716
                • C:\Windows\SysWOW64\taskkill.exe
                  taskkill /f /im chrome.exe
                  7⤵
                  • Kills process with taskkill
                  • Suspicious use of AdjustPrivilegeToken
                  PID:3772
              • C:\Windows\SysWOW64\cmd.exe
                cmd.exe /c taskkill /f /im firefox.exe
                6⤵
                  PID:2640
                  • C:\Windows\SysWOW64\taskkill.exe
                    taskkill /f /im firefox.exe
                    7⤵
                    • Kills process with taskkill
                    • Suspicious use of AdjustPrivilegeToken
                    PID:2996
              • C:\Windows\SysWOW64\rundll32.exe
                C:\Windows\system32\rundll32.exe 003 install5
                5⤵
                • Suspicious use of SetThreadContext
                PID:4508
                • C:\Windows\SysWOW64\rundll32.exe
                  "C:\Windows\system32\rundll32.exe"
                  6⤵
                  • Suspicious use of SetWindowsHookEx
                  PID:708
              • 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:4720
                  • C:\Windows\SysWOW64\PING.EXE
                    ping 127.0.0.1 -n 3
                    6⤵
                    • Runs ping.exe
                    PID:2972
              • 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
                PID:1864
                • C:\Users\Admin\AppData\Local\Temp\RarSFX2\BTRSetp.exe
                  "{path}"
                  5⤵
                  • Executes dropped EXE
                  PID:3612
                  • C:\Windows\SysWOW64\WerFault.exe
                    C:\Windows\SysWOW64\WerFault.exe -u -p 3612 -s 1380
                    6⤵
                    • Program crash
                    • Suspicious behavior: EnumeratesProcesses
                    • Suspicious use of AdjustPrivilegeToken
                    PID:4896
              • 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:2632
                • 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:4824
                • 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:4412
              • 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:4532
                • C:\Users\Admin\AppData\Local\Temp\RarSFX2\lcx.exe
                  lcx.exe version2.txt
                  5⤵
                  • Executes dropped EXE
                  PID:4420
              • 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:1576
                • 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:2696
                    • C:\Windows\SysWOW64\PING.EXE
                      ping 1.1.1.1 -n 1 -w 3000
                      6⤵
                      • Runs ping.exe
                      PID:4756
                • 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:816
                • 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:4464
          • 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:4160
          • C:\Windows\system32\browser_broker.exe
            C:\Windows\system32\browser_broker.exe -Embedding
            1⤵
            • Modifies Internet Explorer settings
            PID:5036
          • 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:1288
          • 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:1776

          Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          • memory/708-64-0x0000000010000000-0x0000000010051000-memory.dmp

            Filesize

            324KB

          • memory/1864-47-0x00000000713C0000-0x0000000071AAE000-memory.dmp

            Filesize

            6.9MB

          • memory/1864-54-0x0000000004DA0000-0x0000000004DB7000-memory.dmp

            Filesize

            92KB

          • memory/1864-55-0x0000000004DC0000-0x0000000004DCB000-memory.dmp

            Filesize

            44KB

          • memory/1864-56-0x0000000004FF0000-0x0000000004FF1000-memory.dmp

            Filesize

            4KB

          • memory/1864-49-0x0000000000580000-0x0000000000581000-memory.dmp

            Filesize

            4KB

          • memory/1864-65-0x0000000005310000-0x0000000005319000-memory.dmp

            Filesize

            36KB

          • memory/1864-66-0x0000000005A90000-0x0000000005A91000-memory.dmp

            Filesize

            4KB

          • memory/1864-53-0x0000000004DD0000-0x0000000004DD1000-memory.dmp

            Filesize

            4KB

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

            Filesize

            1.6MB

          • memory/1968-23-0x0000000075B50000-0x0000000075BE3000-memory.dmp

            Filesize

            588KB

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

            Filesize

            5.5MB

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

            Filesize

            5.5MB

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

            Filesize

            2.0MB

          • memory/3136-34-0x00000000043F0000-0x00000000045E0000-memory.dmp

            Filesize

            1.9MB

          • memory/3612-67-0x0000000000400000-0x0000000000405000-memory.dmp

            Filesize

            20KB

          • memory/3612-71-0x0000000000400000-0x0000000000405000-memory.dmp

            Filesize

            20KB

          • memory/3696-35-0x0000000005220000-0x0000000005410000-memory.dmp

            Filesize

            1.9MB

          • memory/4420-307-0x0000000010000000-0x00000000100E3000-memory.dmp

            Filesize

            908KB

          • memory/4508-41-0x0000000004500000-0x00000000046F0000-memory.dmp

            Filesize

            1.9MB

          • memory/4896-261-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-268-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-236-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-239-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-240-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-241-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-242-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-243-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-238-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-245-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-244-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-246-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-247-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-248-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-249-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-250-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-252-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-253-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-251-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-254-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-255-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-257-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-258-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-259-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-260-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-256-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-262-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-263-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-235-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-264-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-266-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-265-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-267-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-237-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-269-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-270-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-271-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-273-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-274-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-275-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-276-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-277-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-278-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-272-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-279-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-281-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-282-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-280-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-283-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-284-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-285-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-227-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-169-0x0000000005CD0000-0x0000000005CD1000-memory.dmp

            Filesize

            4KB

          • memory/4896-144-0x0000000005CD0000-0x0000000005CD1000-memory.dmp

            Filesize

            4KB

          • memory/4896-136-0x0000000005CD0000-0x0000000005CD1000-memory.dmp

            Filesize

            4KB

          • memory/4896-98-0x0000000005CD0000-0x0000000005CD1000-memory.dmp

            Filesize

            4KB

          • memory/4896-95-0x0000000005CD0000-0x0000000005CD1000-memory.dmp

            Filesize

            4KB

          • memory/4896-93-0x0000000005CD0000-0x0000000005CD1000-memory.dmp

            Filesize

            4KB

          • memory/4896-234-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-233-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-231-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-232-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-230-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-229-0x00000000037B0000-0x00000000037B1000-memory.dmp

            Filesize

            4KB

          • memory/4896-228-0x0000000005C00000-0x0000000005C01000-memory.dmp

            Filesize

            4KB

          • memory/4896-89-0x0000000005CD0000-0x0000000005CD1000-memory.dmp

            Filesize

            4KB

          • memory/4896-77-0x00000000050A0000-0x00000000050A1000-memory.dmp

            Filesize

            4KB