Baymax Patch toOls Usage Log

Krematorij

Administrator
Staff member
ADMIN
BFD MEMBER
LEGEND
ULTIMATE
SUPREME
MEMBER
BFD Legacy
Joined
Oct 22, 2024
Messages
1,121
Reaction score
16,265
Website
bfdcrew.pro
Deposit
1,002$
Test environment
Download Address:https://github.com/sicaril/Baymax-Patch-toOls/releases
OS: windows 11
Article updated: 29 January 2023
Changing assembly instructions
Test example:
https://cyberarsenal.org/threads/reverse-analysis-on-windows-a-first-look.342/
C:
Code:
#include <stdio.h>
#include <windows.h>
int main()
{
    int a;
    printf("Please input a number:\n");
    int x = scanf_s("%d", &a);
    printf("%d\n", x);
    if (a % 5 == 0 && a % 7 == 0 && a > 1 && a < 200)
        printf("yes\n");
    else
        printf("no\n");
    system("pause");
    return 0;
}
Original instructions
1674968001403.png


Modification Instructions
1674968016138.png


Patch production
Select the type of patch to be used and the relevant hijacking information
1674968121874.png


Add Entry
The case of a program without a random address
Virtual addrsRaw dataPatch data
000000014000113A75 2F74 2F
000000014000115775 1274 12
000000014000116976 07EB 07
Module addres
1674968807225.png


Address=0000000140000000
Size=0000000000001000
Party=User
Page Information=test.exe
Allocation Type=IMG
Current Protection=-R---
Allocation Protection=ERWC-
1674968031772.png



demo : 000000014000113A Modifications
Click add when you have finished writing
1674968206815.png


Modify according to this method (fill in the data to be modified)
1674968285844.png


Save
Click on the 'Save' button when you have finished making changes
Once no patch data has been added, click on the 'Create Patch' button to create a patch.
1674968338900.png


Using the patch
Run the created patch and click on Patch
1674968373524.png


Patch anomalies
1674968391429.png


In this case, you can click Yes to test the injection scheme
Reason: The problem with the default solution requires modification of the patch generation solution (the default generation option is hijack mode)
1674968539327.png


1674968554157.png



Modify the patch generation method to address this issue based on the actual patching solution

1674973672082.png


Launch pop-ups can be selected before creating a patch by selecting the option to launch the patch without pop-ups
1674968641454.png


Modify the patch generation method to address this issue based on the actual patching solution
Changing the flag register
Test example:
https://cyberarsenal.org/threads/reverse-analysis-on-windows-a-first-look.342/
C:
Code:
#include <stdio.h>
#include <windows.h>
int main()
{
    int a;
    printf("Please input a number:\n");
    int x = scanf_s("%d", &a);
    printf("%d\n", x);
    if (a % 5 == 0 && a % 7 == 0 && a > 1 && a < 200)
        printf("yes\n");
    else
        printf("no\n");
    system("pause");
    return 0;
}
1674971581201.png


1674971721201.png


zf = 1
1674971779154.png


Fill in along these lines
1674971959864.png
 
Top Bottom