Come learn ARM assembly at lowlevel.academy (use code ARMASSEMBLY20 for 20% off lifetime access). or dont. i'm not a cop.
@gabef95387 ай бұрын
Or just look up the instruction set and read it
@karaiwulf7 ай бұрын
Hey I wanted to know if the videos on LowLevelAcademy were available for download/offline viewing? I want to sign up, but my internet bandwidth's highest speed can be measured in kilobits per second. So almost all of my KZbin/video process is go into town, grab a data dump, and come home to watch.
@ishansharma46927 ай бұрын
sir can you guide me from where I should start learning about reverse engineering right now I only known basic c/c++
@erictrinque65137 ай бұрын
got lifetime access a while back, finishing up BootDev right now and cant wait to dive deeper on LLL. thanks as always for the content bud. Superb
@rajeshpoddar57637 ай бұрын
meaow
@umikaliprivate7 ай бұрын
I wanted to learn assembly for a long time. you should make a whole series about gcc assembly.
@Redditard7 ай бұрын
Agreed
@RedstonekPL7 ай бұрын
for an assembler i very much recommend fasm its simple fast and lightweight it has macros and helper function and has been developed for like 25 years if not longer
@umikaliprivate7 ай бұрын
@@RedstonekPL you know some time ago I actually learned nasm assembly, and made my own framework, which made it easier to manage memory and such. I gave up on it almost immediately, so it didn't go much further than a basic concept and a quick and dirty implementation.
@renax1877 ай бұрын
Agreed
@viktorhugo17157 ай бұрын
For sure, making a frontend for GCC assembler would be so damn cool xD
@joshman10197 ай бұрын
Unlike a lot of other KZbinrs, You actually know what you're doing and have a passion for it. One of my favorite tech channels on the platform.
@halano7 ай бұрын
You are not real developer until you recording yourself do some coding.
@ficolas27 ай бұрын
@@halanonot at all
@flflflflflfl7 ай бұрын
@@halano so Dennis Richie, Ken Tompson, Richard Stallman and Linus Torvalds are not real developers? Got it, thanks!
@AntonioZL7 ай бұрын
My suggestion for learning low level stuff (and, in some sort, assembly) is to play Zachtronics' games, especially TIS-100, Shenzhen I/O and Exapunks. Although you won't learn a specific set of instructions, given each game uses it's own assembly language for ficticious architectures, you will learn how it is like to use assembly, by dealing with registers, memory, circuit design, CPU cycles, control flow, etc. Besides, you'll have lots of fun!
@JayDee-b5u7 ай бұрын
Thank you for the thoughtful suggestion.
@AntonioZL7 ай бұрын
@@JayDee-b5u Exapunks has a special place in my heart, given I'm a fan of retrofuturism/sci-fi/cyberpunk literature, but TIS-100, with it's 80's charm, and Shenzhen I/O, in it's setting, are also really great! What I like the most about their games is how they're narrative-driven: it's not LeetCode, i.e, coding for the sake of it; but programming puzzles you're personally invested in due to how they're presented and how the narrative is set up. They're really great games!
@SimonBuchanNz7 ай бұрын
The main issue here is Zach's games have (deliberately) awful architectures, extremely limited and quirky. This leads to interesting gameplay, because you can't just reuse a solution you figured out earlier, but it also makes it seem way harder than it actually is on real machines.
@Zeni-th.7 ай бұрын
How is that a problem lol@@SimonBuchanNz
@SimonBuchanNz7 ай бұрын
@@Zeni-th. mostly that it's pretty easy to be discouraged by thinking that "I'm not smart enough for assembly" Normally the game version of a thing is simpler and easier, but I think that's inverted in this case. Real assembly problems don't come with unit tests, but otherwise they're often easier than an equivalent in Zachtronics games. (Though of course this is very subjective)
@mlgchuck31457 ай бұрын
This man is a wizard at CS. This dude is my inspiration. So glad I found his channel.
@Little-bird-told-me7 ай бұрын
You are reason why I learn C and I am glad I got into low level programming
@Margen677 ай бұрын
birb
@sharokhkeshawarz21227 ай бұрын
I get it now, because in my college every single projects are ALL with the exception of none made with C in first year of college. We code 24h/7 in C. In seconde year we do C++ and Assembly and its only in third fourth and fifth year that we do high level languages like python, javascript, java etc...
@ziphy_64717 ай бұрын
Me who can't even code properly in c++ : "Yup, assembly is the right choice for me"
@rethardotv58747 ай бұрын
C++ is one of the worst programming languages. It’s a minefield of ineffective specialized functions and keywords. Slow polymorphism and weird multiple standard libraries. You either go performant, unsafe and with more code using C, or with lower performance, low code in python. C++ is the weird inbetween.
@ziphy_64717 ай бұрын
@@rethardotv5874 I'm a openGL dev so I kinda have to use c or c++
@shauas42247 ай бұрын
@@rethardotv5874 or go all in and use c#. Using c# after a year of c++ was probably the nicest feeling ever
@angelcaru7 ай бұрын
Tbf C++ is probably harder than ASM
@ziphy_64717 ай бұрын
@@angelcaru I learned c++ in 1 week
@anuragmore45737 ай бұрын
I was just doing the same ctf question yesterday and got headache reading and understanding assembly code again that I've read in my second year at the college. This time I understood it. Thanks.
@dedsec40027 ай бұрын
We need Intel x86 course on the low level academy platform
@markojojic62237 ай бұрын
No make it RISC-V to prevent recycling code for example
@arnabbiswasalsodeep7 ай бұрын
I've had that in college twice & they made us program the x86 ones using the original way they were programmed, that being use another x86 board with a flashing/burning software connected to addresses gen chip & external storage, where you type in the instructions using a ps/2 keyboard in assembly that you had to manually write it down first and mistake meant waiting to finish then overwrite that particular memory address. All of that just to get led blinking or it posting "hello world" on 2x16 lcd display after 2 hours of pain. Ahh, those were the days. I hated when thry did the same for arm assembly too, but i just used Internet to write it as assignment & through credibility amongst teachers was able to lie about having finished it quickly.
@AndrewTSq7 ай бұрын
we learned asm on 486 back in school. But back then we wrote directly to memory, like the graphics ram etc :) so would be fun to learn how to do it today. but I prefered asm on the Motorla 68k cpus.
@mudi2000a7 ай бұрын
Today everything is so complicated. Back in the day I learned it on the C64 where it was actually easy. When I switched to PC I fiddled a bit with assembly but the abandoned it for Turbo Pascal which was both easy to write as well as performant. Plus if you really wanted you could use inline assembly.
@markojojic62237 ай бұрын
@@mudi2000a To me this still seems like haven to what my visions of learning that in the future. Lets hope I am juvenoic
@XYZ567716 ай бұрын
i've started picoCTF based on your video, best time invested ever!
@brandonlai93886 ай бұрын
This is so so true mate, I'm a self-taught student and I get overwhelmed by all the different tools and language, but after I learn about C++, I start to understand what is happening
@stopcensoringmen50447 ай бұрын
More of these please. We appreciate videos that show and explain how.
@dervolker6 ай бұрын
couldn‘t have said it any better. reverse engineering got me deep into software development, because i wanted to understand what was going on under the hood. Nothing else makes you understand race conditions like injecting code into another process and randomly crashing, while other times having a perfectly running program.
@hawkbirdtree36607 ай бұрын
I heard that everything is open source when you know assembly 😂
@logiciananimal6 ай бұрын
For those who can afford (and could make use of - some people don't like them) a textbook, CMU is also home (so to say) to _Computer Systems: A Programmer’s Perspective_. (Disclaimer: I took the course this is used in - or a version thereof - 20+ years ago while a student there in Logic and Computation.) I do echo our host's recommendation of CTFs for the subject - the text might be useful as a reference.
@PauldeBisse-dc8bv6 ай бұрын
Something i really like about this kind of video is that there is no cringe music in the background that sometimes can get on top of your voice ; No, there is just you, talking fluently about a really interesting concept. As a french who tries to learn computer science AND english at the same time, thank you.
@gabirican48136 ай бұрын
Thanks!
@FACTUAL-w6b7 ай бұрын
been looking for this for a long time cant wait for the full series
@ewhac7 ай бұрын
9:59: ERROR: INVALID MNEMONIC INTERPRETATION DETAILS: `BLS` is "Branch if Lower or Same," which is _distinct_ from Branch if Less Than (`BLT`). BLS is used to compare unsigned integers; BLT gets used with signed integers. I always had difficulty conceptualizing the compare (`CMP`) operation, until I finally realized: `CMP` is identical to `SUB` (Subtract), except that it throws the result away and keeps the flags. So `CMP w1, w0` can be thought of as `SUB w1, w0` (i.e. result = w1 - w0) and thinking about the result of that subtraction. Is the signed result Less Than zero? If so, `BLT` is what you want. For unsigned integers, is the result underflowed (Lower) or equal to zero (Same)? If so, `BLS` is what you want.
@Barry_disgruntled6 ай бұрын
Dude the way you explain things feels very organic and coherent, even though I don't even know half of what you're saying- I wish I could :) I just started learning a little bit of JavaScript but at the same can't help but feel fascinated by low level programming. Someday, I'll have enough knowledge to be able to understand and appreciate the things you describe in your videos 🙏
@bytesizedfeed7 ай бұрын
The only stuff I remember from writing basic assembly is registers (RAX RBX RDX etc) And their use to store information
@iamAK477 ай бұрын
Could you do a tutorial on static analysis, this is useful if working on embedded projects
@HallaBol-z4q7 ай бұрын
Khud se kuch karle bhai, bhik mangne ka adat chodde
@Lampe20207 ай бұрын
I watch Ben Eater's videos about his breadboard computer, so I actually have seen quite some assembly before, but assembly meant to run on raw hardware without any OS. So he had to implement the serial print function etc. all by himself.
@black533427 ай бұрын
That was his own version of assembly.
@Lampe20206 ай бұрын
@@black53342 But it's still assembly. And it isn't his own, it's 65C02 assembly.
@Veptis7 ай бұрын
I actually did a project in school where we wrote assembly directly. What we did a lot is to write step makers (because we had interrupts) and even had a semi custom font engine run the display with a microcontroller. Nowadays I do the most high level stuff there is, it's all python scripts... But I really enjoy watching these videos or similar talks. Never did CS - but might pivot my masters.
@gabrielbarrantes69466 ай бұрын
Any decent CS program would include a course using assembly, C/C++... Those people asking are definitely from an 8hours online JavaScript/python course
@ArtemYakovlev7 ай бұрын
Thanks for picoGym recommendations. Do more like this one
@diegoj43827 ай бұрын
The best way to learn assembly, is to learn microcontrollers and turn a LED in a protoboard. The best way to be a programmer is to know how your bits a flowing.
@dhc6126 ай бұрын
You should consider having an option on your site to purchase access to individual courses! I'm sure I'm not the only one who thinks buying lifetime access is a bit too much of a financial commitment, especially when I don't know if I'll ever have time for any other courses. Love your videos!
@BobChess7 ай бұрын
This is a very useful video. I really learn along the way.
@SharuxD7 ай бұрын
bro it just dropped a minute ago, cut the cap
@JanSoltan-wj1hs7 ай бұрын
My first experience with reverse-engineering was decompiling in Ghidra a mobile phone's (SoC Mediatek MT6765, Model OPPO A12) bootloader "Little Kernel" to patch it and basically disable Android Verified Boot. Now when I'm reversing a normal ELF binary I feel like I'm on easy mode
@brunothedev6 ай бұрын
As someone who has dealt with hacking mediatek phones, i feel you
@neviswarren6 ай бұрын
Great video and information. Thank you.
@eee-ue7vf6 ай бұрын
Appreciate your channel my d00d
@randomguy24477 ай бұрын
Not gonna say too much on here but my CO recognized you when I was watching your video while working on the JQR for basic tool dev lol
@plutoniumoxide4677 ай бұрын
For anyone wanting to learn computer architecture, the Elements of Computing Systems book is a great one, takes you all the way from what is a 16 bit adder, to a high level language that runs on a cpu you built.
I'm so inspired right now I wanna port the whole Vulkan SDK to Assembly then to pure Machine code, then down to the logic gate 1s and 0s 😅
@sajeucettefoistunevaspasme7 ай бұрын
brother, you are the one
@adagioleopard64156 ай бұрын
I think this is why so many software companies poach hardware/firmware developers so often
@Cyclically7 ай бұрын
Just grind crackmes even just once a week, I used to do those endlessly for years back when I was 13.
@NotherPleb7 ай бұрын
For me, in university learning the fundamentals of programming and then data structures all in C was 90% of the way
@stevejobs40074 ай бұрын
this was such an awesome video!
@varshneydevansh7 ай бұрын
I was watching your previous video on reverse engineering
@henrysch92 ай бұрын
I hope you are planning a reverse engineering course on the low level learning platform
@geoffreykioi32726 ай бұрын
I just realised that I've always been a nerd. And I love it
@PatrioticGestalt7 ай бұрын
My journey was through Commodore 64's 6510 (a varient 6502), Sinclair's Z80, and IBM PC's 8088 (using TASM, then MASM). My $0.02 for learning assembly is to go through VICE (Commodore 64 emulator) and/or a Sinclair emulator. Their design philosophies are very interesting.
@thedrunkmonkshow6 ай бұрын
I've never seen Arm Assembly or had it explained to me before so it was revealing to see that fundamentally, while it has it's own unique ISA, it pretty much does the same tasks that you would find in older chips like the 6502, Z80, x86, or 68000k. For some reason I assumed since CPUs have way more registers now it would be too complex to grasp but surprisingly nope, still the same building block process of moving values to and from CPU, to and from Memory, and to and from the Stack. 😃
@Josip-qu4gb6 ай бұрын
When I watch your content I really get motivated. You're helpful and smart, a rare combination 😊 Would have praised you more but gotta go coding🎉
@TrippleXD5456 ай бұрын
it goes the other way too with knowing the high level stuff (ie design patterns) :3
@jamesking24396 ай бұрын
I got started with low level programming by making small cheats and mods in Cheat Engine.
@arcspwan786710 күн бұрын
Oddly enough the first language I learned was Arm asm from hacking the gameboy advanced. Was trying to make a arm thumb disassembler but that has been a process to say the least 😅
@superoya97472 ай бұрын
Thank you so much for this video
@justsomeone73916 ай бұрын
Personally, the most education I've learned from low-level stuff was from OS development.
@k7iq6 ай бұрын
Awesome channel ! Been forwarding and reversing bits for quite a while now but I don't know half of what I need to learn... Or something like that. Some day, some where I would love to see a C instructional on more advanced compiler errors and warnings. Beyond the usual missing semi-colon. There may be one of these on this channel even already. Will look
@SmashingJonor6 ай бұрын
The lower level languages might seem hard and assembly language sure is hard, but at the same time the complexity level in the language tends to not be very high. It's true that C++ compilation errors can be some of the biggest headaches a human will ever experience in life, but I feel the language itself is very straight forward as opposed to C# WPF with it's unholy XAML--C# hybrid language.
@a.v79987 ай бұрын
I always wanted to learn assembly, And so far i have only managed to learn very basics. Im still trying to learn assembly by reading assembly code and dunping C binaries to assembly!
@systemhalodark6 ай бұрын
There is also the legend of R4ndom, even if it is pretty old by now.
@葛帝恩7 ай бұрын
Pity that the code had a BLS instruction, not BLE - this would have made a good case for showing how signed numbers are encoded in binary and how the seemingly smaller number in the example would have turned out to be the larger one
@future_teknokrat75857 ай бұрын
Reverse engineering is how I learn most anything if it's possible.
@kermitputermit14377 ай бұрын
love your videos!
@Im_Ninooo7 ай бұрын
yesterday I learned about ImHex and ended up reverse-engineering game save files for fun till 2am 😆 it's so cool
@ErazerPT6 ай бұрын
Oh nice... Thanks for that one, didn't know about it. I'm used to just having having the hex ed, a text ed for notes and writing a "reader" as i go, but having some "integrated all in one" software for it sure would save time...
@Im_Ninooo6 ай бұрын
@@ErazerPT yep, their pattern language is really powerful
@luismuller65057 ай бұрын
Damn that was a smooth intro.
@remiheneault82087 ай бұрын
I have the privilege of knowing a low-level and a high-level language... The perfect synergy to hate both. One is either slow or an expensive wrapper for C functions underneath. The other is very fast yet every millisecond using it feels like a lifetime. I remember... I remember when _sudo_ was a synonym of power, when XML-RPC was the future for data, when machine-learning and logic each had their role, when WebAssembly promised to bring harmony to us all... My reference to hope has long been freed but sorrow keeps leaking. Should I hang up, give the final signal? I hear my soul - kernel of my being - panicking: *"No !"* When stuck in that eternal recursion, when linkers scream in a long-forgotten dialect, when heap and stack overflow... I tell myself: "At least I don't code in JS."
@shivamchauhan197 ай бұрын
Quick question: Isn't BLS 'branch if lower or same' rather than 'branch if less than'? So it would be used for conditions where argv[1]
@SWAGCOWVIDEO7 ай бұрын
I tried getting into reverse engineering to get an old program made for Windows XP to work better through Wine on Linux. I'm a novice when it comes to assembly and only have trace amounts of computing principles from college. There was such an insane amount of information that I wasn't used to and I could only occasionally get a glimpse of what was going on under the hood. I'd have better luck trying to read a foreign language with no translator. Wonder if doing small challenges like the one you're showing help to remove the obfuscation.
@EngineerNick7 ай бұрын
That was amazing thankyou :)
@Sluggernaut7 ай бұрын
Do you study instruction sets or what? Seems pretty in depth, more than I expected even, needing to understand ARM architecture in this case.
@spaghettiking6537 ай бұрын
Maybe just use compiler explorer, and you'll be able to figure out what instructions mean what quite quickly.
@Sluggernaut7 ай бұрын
@@spaghettiking653 That doesn't sound right, but I don't know enough about stars to dispute it.
@spaghettiking6537 ай бұрын
@@Sluggernaut Stars? What do you mean?
@AutoDisheep7 ай бұрын
I am new to programming, but with a bg in maths
@ttt694204 ай бұрын
implying im going to go to picogym and be part of the llm dataset
@xylh50857 ай бұрын
I would be interested in a video about learning the systems that the assembly interfaces with and how you would, for example, learn x86_64 assembly calling conventions, syscalls, stack frame setups, etc. Also, my terminology might be off, so apologies if my question isn't intelligible
@MsHojat7 ай бұрын
I imagine that before you do these you'd still need to first learn some of the basics of assembly though.
@user-ox4ii2bw6x7 ай бұрын
THIS MAKES LIKE SO MUCH MORE SENSE HOLY SHIT MAYBE IM NOT COOKED
@Ma1ne26 ай бұрын
This was really fun and informative, I felt like watching Sherlock Holmes!
@MorgurEdits7 ай бұрын
That was wild hearing your spell atoi the first time. I spell it completely differently :D
@simplexination98376 ай бұрын
Best way to learn programming is learn to read code base asap and get the idea behind.
@TDG3616 ай бұрын
Great video! It reminds me when I designed a small cpu with vhdl!
@berndeckenfels7 ай бұрын
Should have mentioned „calling convention“
@rootroot-n8b6 ай бұрын
Only binary reverse engineering? Is there no reverse engineering of webpage JavaScript source code? For example, cookies are encrypted. Find the location of the encryption function in the source code.
@gabrielmachado57087 ай бұрын
Really great video
@sauce322aigre7 ай бұрын
I needed a video like this 👍
@SanketL37306 ай бұрын
Thank you, subbed
@vali697 ай бұрын
Ahh why are you using the default dwm config? It takes like 15 minutes to set one up to look relatively decent with gaps and thicker more defined window edges and bigger text and even custom icons if you use a font like awesome and change window labels from numbers to character icons included in the font you install. Like yeah it might sound hard at first but when you actually do it and follow someone's tutorial you'll be done in an instant.
@Kane01237 ай бұрын
I’m willing bet 14mins of my time. Let’s go.
@JohnDoe-np7do6 ай бұрын
Lol i had this crazy idea ab reverse engineering passwd. My logic was that if it were written in C, then at the point where stdin is opened an youre promted to input a password, there should be a strcmp() between the inputted pw & the current users "stored password", in which case 1 out of 2 branches are taken, where the password is a match and where its not. Tried using objdump to dump the disassembly of the binary & see if i could try to find the cmp instruction, fast forward to numerous grep results of cmp & je instructions, i encountered a skill issue real quick. Decided that if im actually gonna do it, to use ghidra instead coz im hopless at asm 😂
@wcrb157 ай бұрын
This was so very clearly articulated. I appreciate the thorough walk through!
@colonthree6 ай бұрын
Security in an industry that employs people who write their passwords on paper and willingly share it with others? I'm sorry, but social engineering will always beat anything else due to human nature. 256-bit encryption has nothing on someone who was just "sloppy" one day and forgot to log out (classic PEBKAC).
@Becoming-Human7 ай бұрын
Excellent video! Thank you! Are there any considerations for showing a similar video, but focused on RISC-V? Thank you, again, and I look forward to more videos like this. :-)
@aquasparx40155 ай бұрын
I've only worked with ARM since last year, for a short while. So I don't exactly know much of great place to start with reverse engineering.....
@luis_mz087 ай бұрын
not gonna lie, i’m kind of annoyed by the fact that there’s multiple kinds of assembly syntax like a know quite a bit of x86 64bit nasm assembly but the arm assembly syntax is so different that I don’t know any instructions apart from like mov and add
@vectoralphaSec7 ай бұрын
That's one reason assembly is hard. There are a lot and they are all different and specific to each cpu architecture.
@starlightfury42527 ай бұрын
great timing. i am heading into summer (with no internship :( ) and i thought of picking up reverse engineering. what do you think about utilizing books for learning rev eng?
@mmmmmratner5 ай бұрын
Why does the C compiler use stack space and cpu cycles to swap the function parameters before starting the logic in func1()?
@healxt54276 ай бұрын
I would like a Risc v assemply playlist from u
@tehmoros7 ай бұрын
I don't get one thing here. The "func1" does that stack allocation and value swap between w0 and w1. Can't it just do "cmp w0, w1" instead of swapping the arguments in the registers and doing "cmp w1, w0"? Or is it just a part of the challange, to make the code more complex and throw you off a bit?
@LowLevelTV7 ай бұрын
This is probably just the result of some compiler foo, given that it came from a C file, rather than an intentional obfuscation. Thanks for watching!
@kaporos7 ай бұрын
hey ! thanks for the vid ! did you configure something to have arm executables running on your machine ? (you might be arm ahha but is there any way on x86 ?)
@LowLevelTV7 ай бұрын
sudo apt install qemu-user
@JonasMielke6 ай бұрын
But is it expected to analyze the assembly for this ctf like you did? Couldn't one just compile and test?
@Andile-jz1vs7 ай бұрын
seems like, Iam the only one who does not understand s***
@oalmaftool6 ай бұрын
You will If you search the meaning of terms you don’t understand. Keep it up
@Make-Money-Online745 ай бұрын
Bro, then I'm better than you
@Devdevbruh5 ай бұрын
Practice every single day. Solve problems with concepts you don't understand so you can understand them
@Andile-jz1vs5 ай бұрын
@@Devdevbruh nahh , assembly does not interest me at all , stick with C and well of course try to go to hardware description language
@coRliX4k3 ай бұрын
you aint the only one... but you gotta start somewhere... im here because ive been playing with base2 math a lot and im curious how 01 makes hardware understand anything
@NoiecityHacking7 ай бұрын
ASM for write shaders in pixel shader and vertex shader i think, and understand GLSL and HLSL, like Blender or Unreal engine
@tarzanzabujca7 ай бұрын
what am i missing, why is the first number greather than second one
@morton47 ай бұрын
this was great
@mehdiboujid87617 ай бұрын
what s the font used in the terminal ? love your content
@Retro_Bebzon7 ай бұрын
Why is this challenge tagged 'Reverse Engineering' if you can solve it without RE by compiling the provided source and running it?