Author Topic: I Programmed a BF4 Hack  (Read 3811 times)

0 Members and 1 Guest are viewing this topic.

Offline Matriplex

  • Knight
  • **
  • Posts: 323
  • Cookies: 66
  • Java
    • View Profile
I Programmed a BF4 Hack
« on: January 28, 2015, 12:00:49 am »
For a while now I've been teaching myself how to reverse engineer and subsequently I thought I'd try my hand at something like this. Low and behold it turned into a months long project in which I learned a lot. Since I've been very inactive lately I thought I'd share the progress with you guys. No, I'm not releasing it and I never will as it was a learning project but I may release some of the code (but not the reversed classes... sorry). Here's an imgur album and one of the pics.

A list of some stuff I did with it, there's other things going on in the memory that doesn't show here:
- No recoil
- No sway (breath)
- 3D AABB ESP for entities (supply boxes, grenades, c4, missiles, etc), players, and vehicles
- ESP for health, distance, and various other things
- Skeleton ESP
- Smooth aimbot (that was a bitch to program)
- Proximity warnings (enemies behind you)
- Sky and fog disabler
- The GUI windows are collapsible and draggable.

I also played around with the rendering engine and got it to render things like just the normal buffer, depth buffer, ambient occlusion buffer, and other things. I found the buffer that stores the direction vectors for the motion blur and rendered that. Trippy af.



So that's it, just thought I'd pop in and say hi.
« Last Edit: January 28, 2015, 12:30:25 am by Matriplex »
\x64\x6F\x75\x65\x76\x65\x6E\x00

sh4llz

  • Guest
Re: I Programmed a BF4 Hack
« Reply #1 on: January 28, 2015, 12:14:34 am »
I personaly dont like cheats and those who use them to fu#$ other people.. but i apreciate those who make them because must be a hell of a work (and i have a lot of interest of how they do that). Anyways, good work sir.

Offline Rytiou

  • Noob Zombie
  • VIP
  • Knight
  • *
  • Posts: 199
  • Cookies: 45
  • EZ's Noob
    • View Profile
Re: I Programmed a BF4 Hack
« Reply #2 on: January 28, 2015, 12:17:16 am »
Really nice job man. It really does look like you put a lot of work into this. Anything you wish you knew before you started this whole project? Also, what was the most troublesome thing to get sorted and worked out? (Assuming it's the smooth aimbot since you said it was difficult to program)
Quote from: Evilzone IRC
<EZBot> life, you're so lame we decided to change your nick to Rytiou's bitch.
<EZBot> Rytiou is lord of the fags and will suck dicks for shells.

Offline Matriplex

  • Knight
  • **
  • Posts: 323
  • Cookies: 66
  • Java
    • View Profile
Re: I Programmed a BF4 Hack
« Reply #3 on: January 28, 2015, 12:38:06 am »
Really nice job man. It really does look like you put a lot of work into this. Anything you wish you knew before you started this whole project? Also, what was the most troublesome thing to get sorted and worked out? (Assuming it's the smooth aimbot since you said it was difficult to program)

It definitely took a while. Honestly there's not much I wish I would've known before; I learned a lot while doing it. I have a much more in depth understanding of memory, reverse engineering, IDA, and other things now.
The most difficult thing... Hm. I'd have to say gathering the information needed to actually start reversing the data structures. There's information out there but not enough. In terms of the most troublesome to program I'd have to say either the aimbot or the yaw pitch roll rotations for the AABBs. But really those weren't too difficult, the AABBs required rotation matrices and a little matrix math but other than that it was fine. The aimbot required a little more trigonometry, quaternion math (not necessary really but I wanted to keep some things close to what I've done in my 3D engine because I already had code for it), and a slerp function but again that wasn't too difficult.
\x64\x6F\x75\x65\x76\x65\x6E\x00

Offline Kulverstukas

  • Administrator
  • Zeus
  • *
  • Posts: 6627
  • Cookies: 542
  • Fascist dictator
    • View Profile
    • My blog
Re: I Programmed a BF4 Hack
« Reply #4 on: January 28, 2015, 07:23:54 am »
Oh man, I thought I never see aimbots and wallhacks outside of Counter-Strike lol. Really cool work. Why don't you make the hack opensource and host it on github? I bet it would spark great interest :)

Offline d4rkcat

  • Knight
  • **
  • Posts: 287
  • Cookies: 115
  • He who controls the past controls the future. He who controls the present controls the past.
    • View Profile
    • Scripts
Re: I Programmed a BF4 Hack
« Reply #5 on: January 28, 2015, 09:33:43 am »
This is very cool.
Seconded Kulverstukas idea to open source it so I can take all your hard work and plagiarise it to hack a different game.
But seriously, would be really neat to see any code or hear more about the process.
Great work +1
Jabber (OTR required): thed4rkcat@einfachjabber.de    Email (PGP required): thed4rkcat@yandex.com    PGP Key: here and here     Blog

<sofldan> not asking for anyone to hold my hand uber space shuttle door gunner guy.


Offline HTH

  • Official EZ Slut
  • Administrator
  • Knight
  • *
  • Posts: 395
  • Cookies: 158
  • EZ Titan
    • View Profile
Re: I Programmed a BF4 Hack
« Reply #6 on: January 28, 2015, 09:39:09 am »
I'd like to thank you, it's not often I see a programming project worth thinking about twice, I dont mean just here I mean everywhere. This thoroughly impressed me.


P.S. I understand not wanting to release the code, we all code for different reasons for different projects and if releasing it isnt in the cards I for one respect it :)


+1 and I'll do it again if i get the chance.
<ande> HTH is love, HTH is life
<TurboBorland> hth is the only person on this server I can say would successfully spitefuck peoples women

Offline Matriplex

  • Knight
  • **
  • Posts: 323
  • Cookies: 66
  • Java
    • View Profile
Re: I Programmed a BF4 Hack
« Reply #7 on: January 28, 2015, 10:20:45 pm »
Thanks for the feedback, I never thought it would actually be well received. Since most of you that posted want me to upload the code, what would you want me to upload? The GUI code, memory library, math stuff? I'll upload any of that, however I'm not going to upload my SDK. I feel like that would just spawn a string of shitty hacks people make thinking they know what they're doing. But anything else is fine.
The code is pretty shitty; I haven't cleaned a lot of it up.

Edit: For clarification the reason I'm not uploading everything and I'm cautious about it is because of punkbuster's ability to recognize the sigs of hacks. One person gets caught using it and everyone else will be. I could upload it then change my code, change the PE shit, and some other stuff but it's not worth it imo.
« Last Edit: January 28, 2015, 10:23:46 pm by Matriplex »
\x64\x6F\x75\x65\x76\x65\x6E\x00

Offline haseebr21

  • /dev/null
  • *
  • Posts: 18
  • Cookies: 2
  • If you’re not first, you’re last.
    • View Profile
Re: I Programmed a BF4 Hack
« Reply #8 on: February 04, 2015, 09:23:13 pm »
superb :)
Throw me to the Wolves and I will return leading the pack.

"A successful man is one who can lay a firm foundation with the bricks others have thrown at him." --David Brinkley

"Don't raise your voice, improve your argument."

Doubt me, hate me, you’re the inspiration I need.

There are so many people out there who will tell you that you can’t. What you’ve got to do is to turn around and say – Watch me.

Offline Deque

  • P.I.N.N.
  • Global Moderator
  • Overlord
  • *
  • Posts: 1203
  • Cookies: 518
  • Programmer, Malware Analyst
    • View Profile
Re: I Programmed a BF4 Hack
« Reply #9 on: February 05, 2015, 08:50:56 am »
Great work, Matriplex.
This is the stuff I like to see here.
The GUI code is imo the least interesting of all. But the memory library sounds useful. What language did you use?

Offline Nortcele

  • Knight
  • **
  • Posts: 211
  • Cookies: -42
  • █+█=██
    • View Profile
Re: I Programmed a BF4 Hack
« Reply #10 on: February 05, 2015, 10:23:40 am »
Oh man, I thought I never see aimbots and wallhacks outside of Counter-Strike lol. Really cool work. Why don't you make the hack opensource and host it on github? I bet it would spark great interest :)


Release it :)
~JaySec
~LulzBlog

TAKE A COOKIE!




0100000101010011010000110100100101001001

Offline Darkvision

  • EZ's Fluffer
  • VIP
  • Royal Highness
  • *
  • Posts: 755
  • Cookies: 149
  • Its not a bug, It's a Chilopodas.
    • View Profile
Re: I Programmed a BF4 Hack
« Reply #11 on: February 05, 2015, 01:50:02 pm »
my least favorite kind of game hack. i fucking hate no skill hacks. by this ofc i mean the tards out their dropping money on "hacks" then ruining others enjoyment, that said, obviously coding one from scratch isnt "easy" so grats on that. But if you release the code i will fart on your pillow and give you pinkeye.
The internet: where men are men, women are men, and children are FBI agents.

Ahh, EvilZone.  Where networking certification meets avian fecal matter & all is explained, for better or worse.

<Phage> I used an entrence I never use

Offline Mordred

  • Knight
  • **
  • Posts: 360
  • Cookies: 135
  • Nvllivs in Verba
    • View Profile
Re: I Programmed a BF4 Hack
« Reply #12 on: February 05, 2015, 02:16:08 pm »
Very nice project. It seems like you really learned a lot from it which is exactly what you should've done! :) +1 cookie for your valuable effort.

Also I second Deque's idea of releasing the memory library. That seems to be one of the more interesting aspects of this project.
\x57\x68\x79\x20\x64\x69\x64\x20\x79\x6f\x75\x20\x65\x76\x65\x6e\x20\x66\x75\x63\x6b\x69\x6e\x67\x20\x73\x70\x65\x6e\x64\x20\x74\x68\x65\x20\x74\x69\x6d\x65\x20\x74\x6f\x20\x64\x65\x63\x6f\x64\x65\x20\x74\x68\x69\x73\x20\x6e\x69\x67\x67\x72\x3f\x20\x44\x61\x66\x75\x71\x20\x69\x73\x20\x77\x72\x6f\x6e\x67\x20\x77\x69\x74\x68\x20\x79\x6f\x75\x2e

Offline Darkvision

  • EZ's Fluffer
  • VIP
  • Royal Highness
  • *
  • Posts: 755
  • Cookies: 149
  • Its not a bug, It's a Chilopodas.
    • View Profile
Re: I Programmed a BF4 Hack
« Reply #13 on: February 05, 2015, 03:00:11 pm »
Very nice project. It seems like you really learned a lot from it which is exactly what you should've done! :) +1 cookie for your valuable effort.

Also I second Deque's idea of releasing the memory library. That seems to be one of the more interesting aspects of this project.

HOLY SHIT YOU ARE ALIVE! :P
The internet: where men are men, women are men, and children are FBI agents.

Ahh, EvilZone.  Where networking certification meets avian fecal matter & all is explained, for better or worse.

<Phage> I used an entrence I never use

Offline khofo

  • EZ's Swashbuckler
  • Knight
  • **
  • Posts: 350
  • Cookies: 25
  • My humor is so black, it could go cotton picking.
    • View Profile
Re: I Programmed a BF4 Hack
« Reply #14 on: February 06, 2015, 11:58:13 pm »
That's fucking awesome like really I do realize how mich hard work it is but do not dare to fucking release you should play and crush others with this just becauE u dis great work doing so unless someone else does it by himself he is not eligble to the club and if u release u'll be killing your work cz they'll discover it pretty quick the  so keep the fun for yourself or I second darkvision for farting on your pillow
Quote from: #Evilzone
<Spacecow18> priests are bad ppl
<Insanity> Holy crap
Of course God isnt dead. He's out there partying with the Easter Bunny, Santa Clause, Tooth Fairy, and the Man on the moon...
Some of my work: Introduction to Physical Security