Ce matin je n’ai pas eu de problème pour me logger mais ma touche espace a déconné plusieurs fois. Là elle fonctionne impeccable, alors qu’il y a 10 minutes c’était la misère. Donc je crois que virer xdotool n’a servi à rien.
@grandtoubab tu ne saurais pas quel binaire (dans le genre de xdotool) un hacker pourrait utiliser pour faire planter le clavier comme ça ?
edit: Déjà on va commencer par le commencement. Dite moi s’il vous plaît si vous ne voyez pas un module qui n’a rien à faire dans mon système:
slack@x552c:~$ lsmod
Module Size Used by
ipmi_devintf 20480 0
ipmi_msghandler 65536 1 ipmi_devintf
fuse 122880 3
pci_stub 16384 1
vboxpci 28672 0
vboxnetadp 28672 0
vboxnetflt 32768 0
vboxdrv 483328 3 vboxpci,vboxnetadp,vboxnetflt
bbswitch 16384 0
ip6table_filter 16384 0
ip6_tables 32768 1 ip6table_filter
ipt_REJECT 16384 1
nf_reject_ipv4 16384 1 ipt_REJECT
nf_log_ipv4 16384 8
nf_log_common 16384 1 nf_log_ipv4
xt_LOG 16384 8
nf_conntrack_ipv4 16384 5
nf_defrag_ipv4 16384 1 nf_conntrack_ipv4
xt_limit 16384 10
xt_tcpudp 16384 20
xt_NFQUEUE 16384 2
xt_conntrack 16384 5
nf_conntrack 155648 2 xt_conntrack,nf_conntrack_ipv4
libcrc32c 16384 1 nf_conntrack
iptable_filter 16384 1
binfmt_misc 20480 1
nls_ascii 16384 1
nls_cp437 20480 1
vfat 24576 1
fat 77824 1 vfat
uvcvideo 106496 0
videobuf2_vmalloc 16384 1 uvcvideo
videobuf2_memops 16384 1 videobuf2_vmalloc
videobuf2_v4l2 28672 1 uvcvideo
intel_rapl 24576 0
videobuf2_common 49152 2 videobuf2_v4l2,uvcvideo
videodev 217088 3 videobuf2_v4l2,uvcvideo,videobuf2_common
media 45056 2 videodev,uvcvideo
x86_pkg_temp_thermal 16384 0
intel_powerclamp 16384 0
snd_hda_codec_hdmi 61440 1
coretemp 16384 0
kvm_intel 237568 0
snd_hda_codec_realtek 110592 1
snd_hda_codec_generic 86016 1 snd_hda_codec_realtek
kvm 733184 1 kvm_intel
irqbypass 16384 1 kvm
arc4 16384 2
ath9k 118784 0
snd_hda_intel 45056 5
asus_nb_wmi 28672 0
asus_wmi 32768 1 asus_nb_wmi
ath9k_common 20480 1 ath9k
snd_hda_codec 151552 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core 94208 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
ath9k_hw 487424 2 ath9k_common,ath9k
crct10dif_pclmul 16384 0
crc32_pclmul 16384 0
ghash_clmulni_intel 16384 0
sparse_keymap 16384 1 asus_wmi
ath 32768 3 ath9k_common,ath9k,ath9k_hw
wmi_bmof 16384 0
snd_hwdep 20480 1 snd_hda_codec
intel_cstate 16384 0
snd_pcm 118784 5 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
intel_uncore 135168 0
mac80211 827392 1 ath9k
snd_timer 36864 1 snd_pcm
intel_rapl_perf 16384 0
mxm_wmi 16384 0
snd 94208 17 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm
cfg80211 778240 4 ath9k_common,ath9k,ath,mac80211
i915 1724416 26
pcspkr 16384 0
joydev 24576 0
evdev 28672 27
serio_raw 16384 0
efi_pstore 16384 0
rfkill 28672 5 asus_wmi,cfg80211
rtsx_pci_ms 20480 0
soundcore 16384 1 snd
efivars 20480 1 efi_pstore
memstick 16384 1 rtsx_pci_ms
sg 36864 0
drm_kms_helper 196608 1 i915
mei_me 45056 0
drm 471040 16 drm_kms_helper,i915
video 45056 2 asus_wmi,i915
iTCO_wdt 16384 0
iTCO_vendor_support 16384 1 iTCO_wdt
mei 110592 1 mei_me
battery 24576 0
button 16384 1 i915
i2c_algo_bit 16384 1 i915
asus_wireless 16384 0
wmi 28672 3 asus_wmi,wmi_bmof,mxm_wmi
pcc_cpufreq 16384 0
ac 16384 0
loop 32768 0
parport_pc 32768 0
ppdev 20480 0
lp 20480 0
sunrpc 421888 1
parport 57344 3 parport_pc,lp,ppdev
efivarfs 16384 1
ip_tables 28672 10 iptable_filter
x_tables 45056 10 ip6table_filter,xt_conntrack,iptable_filter,xt_LOG,xt_tcpudp,ip6_tables,ipt_REJECT,ip_tables,xt_limit,xt_NFQUEUE
autofs4 49152 2
ext4 741376 1
crc16 16384 1 ext4
mbcache 16384 1 ext4
jbd2 118784 1 ext4
crc32c_generic 16384 0
fscrypto 32768 1 ext4
ecb 16384 0
crypto_simd 16384 0
cryptd 28672 2 crypto_simd,ghash_clmulni_intel
glue_helper 16384 0
aes_x86_64 20480 1
hid_generic 16384 0
usbhid 57344 0
hid 135168 2 usbhid,hid_generic
sr_mod 28672 0
sd_mod 53248 4
cdrom 69632 1 sr_mod
rtsx_pci_sdmmc 28672 0
mmc_core 172032 1 rtsx_pci_sdmmc
crc32c_intel 24576 2
psmouse 172032 0
ahci 40960 3
libahci 40960 1 ahci
xhci_pci 16384 0
r8168 536576 0
i2c_i801 28672 0
ehci_pci 16384 0
libata 278528 2 libahci,ahci
xhci_hcd 270336 1 xhci_pci
ehci_hcd 94208 1 ehci_pci
lpc_ich 28672 0
scsi_mod 253952 4 sd_mod,libata,sg,sr_mod
rtsx_pci 73728 2 rtsx_pci_sdmmc,rtsx_pci_ms
usbcore 290816 6 xhci_hcd,ehci_pci,usbhid,uvcvideo,ehci_hcd,xhci_pci
usb_common 16384 1 usbcore
thermal 20480 0
edit: Petite remarque, si le hacker a le contrôle de mon clavier, rien ne lui empêche d’éditer ce message et effacer le module en question de la liste : /
(Il faudra que je compare la liste des modules une fois que vous aurez vu le message).
A savoir aussi si il n’est pas possible de cacher un module de lsmod (si mon système a été modifié en profondeur je pense que ça doit être possible de cacher un module de lsmod).
edit:Exemple d’un hack par kernel module:
edit: @Verner tu es le bienvenue sur ce topique si tu veux.
edit: Là il m’a bloqué la touche alt. J’ai l’habitude de faire alt+f1 pour sortir de mon jeux mais ce matin impossible, obligé d’utiliser l’autre clavier, et pendant que je tape ce message, il appuie sur des lettres au hasard. C’est super difficile de vous écrire.
edit: Là j’ai tenté de faire un “exit” de mon terminal avec le clavier du portable et voilà ce que ça m’a écrit:
slack@x552c:~$ exit_ExitOnFatalAssert
(aucun résultat sur Google…)
edit: Je viens de tenter un redémarrage et dès le boot de Grub la touche entrée ne fonctionne pas.
.Là. j’…e.ss…ai d.’.écrire avec le clavier usb et comme vous le voyez il n’arrête pas d’appuyer sur la touche “.” La touche “.” du pavé numérique ne fonctionne pas. Et en débranchant / rebranchant le clavier usb, hop, elle refonctionne.
edit: Là il vient de réapppuyer en continue sur la touche “.” lorsque j’étais dans mon terminal, j’ai débranché le clavier usb mais ça continuait à faire des “.” donc ce coup ci il le faisait avec le clavier incorporé.
edit: J’ai tenté un redémarrage en débranchant le réseau et la touche entrée ne fonctionnait pas non plus avec Grub. Et impossible de me logger sur ma session Gnome, même en appuyant sur la touche entrée du pavé numérique qui elle fonctionne, mon mot de passe est toujours refusé. Il n’y a qu’avec le clavier usb que ça fonctionne.
Donc si la touche entrée ne fonctionne pas non plus avec Grub ça signifie quoi ? C’est possible un hack du clavier qui impacterait aussi Grub ?
edit: Voici mon grub.cfg, pouvez-vous s’il vous plaît regarder si quelque chose vous semble suspect:
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 --hint='hd0,gpt2' 4a380db3-d365-4632-b9d7-41bdf319e3d4
else
search --no-floppy --fs-uuid --set=root 4a380db3-d365-4632-b9d7-41bdf319e3d4
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=fr_FR
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=30
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=5
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 --hint='hd0,gpt2' 4a380db3-d365-4632-b9d7-41bdf319e3d4
else
search --no-floppy --fs-uuid --set=root 4a380db3-d365-4632-b9d7-41bdf319e3d4
fi
insmod png
if background_image /usr/share/desktop-base/softwaves-theme/grub/grub-16x9.png; then
set color_normal=white/black
set color_highlight=black/white
else
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-4a380db3-d365-4632-b9d7-41bdf319e3d4' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 --hint='hd0,gpt2' 4a380db3-d365-4632-b9d7-41bdf319e3d4
else
search --no-floppy --fs-uuid --set=root 4a380db3-d365-4632-b9d7-41bdf319e3d4
fi
echo 'Chargement de Linux 4.18.0-1-amd64…'
linux /boot/vmlinuz-4.18.0-1-amd64 root=UUID=4a380db3-d365-4632-b9d7-41bdf319e3d4 ro
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.18.0-1-amd64
}
submenu 'Options avancées pour Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-4a380db3-d365-4632-b9d7-41bdf319e3d4' {
menuentry 'Debian GNU/Linux, avec Linux 4.18.0-1-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.18.0-1-amd64-advanced-4a380db3-d365-4632-b9d7-41bdf319e3d4' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 --hint='hd0,gpt2' 4a380db3-d365-4632-b9d7-41bdf319e3d4
else
search --no-floppy --fs-uuid --set=root 4a380db3-d365-4632-b9d7-41bdf319e3d4
fi
echo 'Chargement de Linux 4.18.0-1-amd64…'
linux /boot/vmlinuz-4.18.0-1-amd64 root=UUID=4a380db3-d365-4632-b9d7-41bdf319e3d4 ro
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.18.0-1-amd64
}
menuentry 'Debian GNU/Linux, with Linux 4.18.0-1-amd64 (sysvinit)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.18.0-1-amd64-init-sysvinit-4a380db3-d365-4632-b9d7-41bdf319e3d4' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 --hint='hd0,gpt2' 4a380db3-d365-4632-b9d7-41bdf319e3d4
else
search --no-floppy --fs-uuid --set=root 4a380db3-d365-4632-b9d7-41bdf319e3d4
fi
echo 'Chargement de Linux 4.18.0-1-amd64…'
linux /boot/vmlinuz-4.18.0-1-amd64 root=UUID=4a380db3-d365-4632-b9d7-41bdf319e3d4 ro init=/lib/sysvinit/init
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.18.0-1-amd64
}
menuentry 'Debian GNU/Linux, with Linux 4.18.0-1-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.18.0-1-amd64-recovery-4a380db3-d365-4632-b9d7-41bdf319e3d4' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 --hint='hd0,gpt2' 4a380db3-d365-4632-b9d7-41bdf319e3d4
else
search --no-floppy --fs-uuid --set=root 4a380db3-d365-4632-b9d7-41bdf319e3d4
fi
echo 'Chargement de Linux 4.18.0-1-amd64…'
linux /boot/vmlinuz-4.18.0-1-amd64 root=UUID=4a380db3-d365-4632-b9d7-41bdf319e3d4 ro single
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.18.0-1-amd64
}
menuentry 'Debian GNU/Linux, avec Linux 4.17.0-3-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.17.0-3-amd64-advanced-4a380db3-d365-4632-b9d7-41bdf319e3d4' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 --hint='hd0,gpt2' 4a380db3-d365-4632-b9d7-41bdf319e3d4
else
search --no-floppy --fs-uuid --set=root 4a380db3-d365-4632-b9d7-41bdf319e3d4
fi
echo 'Chargement de Linux 4.17.0-3-amd64…'
linux /boot/vmlinuz-4.17.0-3-amd64 root=UUID=4a380db3-d365-4632-b9d7-41bdf319e3d4 ro
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.17.0-3-amd64
}
menuentry 'Debian GNU/Linux, with Linux 4.17.0-3-amd64 (sysvinit)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.17.0-3-amd64-init-sysvinit-4a380db3-d365-4632-b9d7-41bdf319e3d4' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 --hint='hd0,gpt2' 4a380db3-d365-4632-b9d7-41bdf319e3d4
else
search --no-floppy --fs-uuid --set=root 4a380db3-d365-4632-b9d7-41bdf319e3d4
fi
echo 'Chargement de Linux 4.17.0-3-amd64…'
linux /boot/vmlinuz-4.17.0-3-amd64 root=UUID=4a380db3-d365-4632-b9d7-41bdf319e3d4 ro init=/lib/sysvinit/init
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.17.0-3-amd64
}
menuentry 'Debian GNU/Linux, with Linux 4.17.0-3-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.17.0-3-amd64-recovery-4a380db3-d365-4632-b9d7-41bdf319e3d4' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 --hint='hd0,gpt2' 4a380db3-d365-4632-b9d7-41bdf319e3d4
else
search --no-floppy --fs-uuid --set=root 4a380db3-d365-4632-b9d7-41bdf319e3d4
fi
echo 'Chargement de Linux 4.17.0-3-amd64…'
linux /boot/vmlinuz-4.17.0-3-amd64 root=UUID=4a380db3-d365-4632-b9d7-41bdf319e3d4 ro single
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.17.0-3-amd64
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
Moi je n’ai rien vu d’étrange.