Questions tagged [hooking]
The hooking tag has no usage guidance.
17
questions
1
vote
1
answer
44
views
Create instance of iOS class that contains a . with frida
I am trying to create an instance of a class of an iOS app using Frida.
In the past I have successfully done this using a command such as:
var instance = ObjC.chooseSync(ObjC.classes.TestClass)[0];
...
1
vote
0
answers
48
views
Instruction-level hooking library for win32?
I am looking for instruction-level hooking library for win32 x86/x64.
I want to write hook insertion and hook implementation code in C/C++ (compiled into dll).
(Therefore instrumentation tools are ...
0
votes
0
answers
90
views
Easy way to attach a DLL to a Game
I like to attach a dll to a game to add more features.
The DLL is 95% done, the problem is find the best and easy way to load this dll from the Game.
My idea is use this technique:
dinput_ori.dll (...
0
votes
0
answers
113
views
Crash after hook a function
I have hooked a sound function that work within the game menu after, when the battle start, the game will crash.
The function at the first parameter get correctly the sound file name, before the ...
1
vote
1
answer
286
views
frida - The specified child already has a parent. You must call removeView() on the child's parent first when hooking, how do you solve it?
I wanted to hook the method A1f in the below code but frida returns the following exceptions:
Found instance: MyHomeFragment{9bbd8d5} (0965bca9-4838-4ca1-a835-d99639ae15f1)}
java.lang....
1
vote
0
answers
103
views
what are modern hooking techniques? [closed]
i was looking at interesting anti malware roles (malware analysis and prevention) and among the required skills they mentioned that "modern hooking techniques" should be well acquainted with. i was ...
2
votes
1
answer
276
views
Hiding a file in a Windows operating system
I am trying to understand how to hide a file in windows as a way to learn about win api and malware analysis.
What I am trying to do is to make a file "disappear" via some kind of manipulation. But I ...
1
vote
0
answers
179
views
How to hook eval function in node.js
As the eval() function of JavaScript is an evil, I want to hook or monkey-patch eval() function of JavaScript in node.js. I want to intercept all arguments passed in eval() function. Please guide me ...
3
votes
1
answer
1k
views
Hooking function with frida
How can i hook functions with frida?
Can someone give me an example please, for something that do that?
Hook at 0x412312 and change the assembly code to "mov eax, 999"
I Arleady tried something like:...
0
votes
1
answer
511
views
Intercept zip decryption key or files from an application
If an application is reading from a password protected zip file, is there a way to intercept the key being sent to decrypt the zip file. Or, is there a way to dump the files being read themselves?
0
votes
0
answers
47
views
javascript hook comparisons
Look at this very basic javascript code:
if (s=='abcd')
{
if (s2='cdef')
{
...
}
}
I want to hook all tests: I want to get this:
(s,'==','abcd')
(s2,'==','cdef')
Is there a way ...
1
vote
1
answer
133
views
Why does vmt hooking not work with instance member in the following case?
Why does the function not get hooked when called with instance member obj.myFunc() ?
class Myclass
{
public:
virtual void myFunc() = 0;
};
class Derived : public Myclass
{
public:
void ...
1
vote
2
answers
1k
views
What functions (in which modules) can be hooked by Frida to access unencrypted data of SSL connections in Java programs running under Windows?
There are gazillions of internet resources discussing how to use Frida to hook and otherwise mess around with SSL connections of Java programs running under Android, but seemingly (as far as my google-...
2
votes
2
answers
218
views
Check if instruction is reached
I am doing a challenge for a CTF and I have to reverse an encryption scheme to find a flag. However it would be easier to just try all inputs but they are too much.
There is an instruction that when ...
1
vote
1
answer
78
views
Windbg Break Points
I need to set a break point when a specific module address space is being overwritten? I need to specify this by module name not address space
2
votes
1
answer
433
views
How to see ReadFile results with ProcMon
I running procmon to monitor my process, and see that my process uses ReadFile API.
How can I see which data the process received when it uses ReadFile?
3
votes
1
answer
1k
views
Is it possible to hook CPU instructions without severe performance impact?
I have been working on some unpackers, and I noticed that at their end, they mostly use this:
mov edx, [ebp+oep]
call edx ; now, you're at the OEP of the original binary
Or this:
mov ecx, [ebp+oep]
...