JSONãã¡ã¤ã«ã®æ«å°¾ã«æ¹è¡ããªãã®ã§ãå¦çããã¹ã£ã¦ãã¾ã£ãã
åçãããã¦ãè¨é²ã«æ®ãã¦ããã
Azure DataLake StorageãããAzure Storage Explorerçµç±ã§ãã¦ã³ãã¼ãããJSONãã¡ã¤ã«ã
ã¬ã³ã¼ãã¯ãã¡ã¤ã«ãã¨ã«è¤æ°å
¥ã£ã¦ããã
ã·ã³ãã«ã«catã§é£çµãã¦å¦çããã®ã ãã©ãæ«å°¾ã«ã«ã ãæ¹è¡ããªãç¶æ ã ã£ãã®ã§ã次ã®ãã¡ã¤ã«ã®å é è¡ãå¦çãããªããã¨ã«ãªã£ã¦ãã¾ã£ãã
ãªãªã¸ãã«ã®ãã¼ã¿ãå å·¥ããã®ã¯ãä»å¾ã®ããã«ãæ°ãå¼ããããã¯ã³ã©ã¤ãã¼ã§æ¸ã¾ãªããªãã®ãããµãã
ããããããã¾ãããã®ã§ã¯ãªãããªã
$ find ./* -type f -exec grep '^{' {} \;
ä¸å¿ãã¾ããã£ãæãã
faboollasermac ãåé¤ãã
SmartInstallerMac_v290.pkg ãå
¥ããã®ã ãã©ãã¤ã³ã¹ãã¼ã©ã¼ã«ã¢ã³ã¤ã³ã¹ãã¼ã«æ©è½ããªãã
ããã¸ãã¯ã½ãªã½ããã¦ã¨ã¢ã§ããã
ãã®ããããã¼ã«ã«ã§Webãµã¼ãã¼ãåããç¶ããã¨ããããã«ã¯ã½ãªä»æ§ã
ããã¦ãDXFãèªã¿è¾¼ããªãã¨ããã©ããããããªãã¯ã½ã
ãªã®ã§åé¤ã
$ pkgutil --pkgs | grep smartdiys com.smartdiys.faboollaser
ä½ãå ¥ã£ãã調ã¹ãã
$ pkgutil --files com.smartdiys.faboollaser LaunchDaemons LaunchDaemons/com.smartdiys.faboollaser.plist faboollasermac faboollasermac/dfu faboollasermac/dfu/bin faboollasermac/dfu/bin/dfu-util faboollasermac/dfu/lib faboollasermac/dfu/lib/libusb-1.0.0.dylib faboollasermac/faboollaser.app faboollasermac/faboollaser.app/Contents faboollasermac/faboollaser.app/Contents/Frameworks faboollasermac/faboollaser.app/Contents/Info.plist faboollasermac/faboollaser.app/Contents/MacOS faboollasermac/faboollaser.app/Contents/MacOS/MacOS.so faboollasermac/faboollaser.app/Contents/MacOS/Nav.so faboollasermac/faboollaser.app/Contents/MacOS/Python faboollasermac/faboollaser.app/Contents/MacOS/_AE.so faboollasermac/faboollaser.app/Contents/MacOS/_Ctl.so faboollasermac/faboollaser.app/Contents/MacOS/_Dlg.so faboollasermac/faboollaser.app/Contents/MacOS/_Evt.so faboollasermac/faboollaser.app/Contents/MacOS/_File.so faboollasermac/faboollaser.app/Contents/MacOS/_Menu.so faboollasermac/faboollaser.app/Contents/MacOS/_Qd.so faboollasermac/faboollaser.app/Contents/MacOS/_Res.so faboollasermac/faboollaser.app/Contents/MacOS/_Win.so faboollasermac/faboollaser.app/Contents/MacOS/_codecs_cn.so faboollasermac/faboollaser.app/Contents/MacOS/_codecs_hk.so faboollasermac/faboollaser.app/Contents/MacOS/_codecs_iso2022.so faboollasermac/faboollaser.app/Contents/MacOS/_codecs_jp.so faboollasermac/faboollaser.app/Contents/MacOS/_codecs_kr.so faboollasermac/faboollaser.app/Contents/MacOS/_codecs_tw.so faboollasermac/faboollaser.app/Contents/MacOS/_collections.so faboollasermac/faboollaser.app/Contents/MacOS/_ctypes.so faboollasermac/faboollaser.app/Contents/MacOS/_functools.so faboollasermac/faboollaser.app/Contents/MacOS/_hashlib.so faboollasermac/faboollaser.app/Contents/MacOS/_heapq.so faboollasermac/faboollaser.app/Contents/MacOS/_io.so faboollasermac/faboollaser.app/Contents/MacOS/_json.so faboollasermac/faboollaser.app/Contents/MacOS/_locale.so faboollasermac/faboollaser.app/Contents/MacOS/_multibytecodec.so faboollasermac/faboollaser.app/Contents/MacOS/_random.so faboollasermac/faboollaser.app/Contents/MacOS/_scproxy.so faboollasermac/faboollaser.app/Contents/MacOS/_socket.so faboollasermac/faboollaser.app/Contents/MacOS/_ssl.so faboollasermac/faboollaser.app/Contents/MacOS/_struct.so faboollasermac/faboollaser.app/Contents/MacOS/app faboollasermac/faboollaser.app/Contents/MacOS/array.so faboollasermac/faboollaser.app/Contents/MacOS/binascii.so faboollasermac/faboollaser.app/Contents/MacOS/bz2.so faboollasermac/faboollaser.app/Contents/MacOS/cPickle.so faboollasermac/faboollaser.app/Contents/MacOS/cStringIO.so faboollasermac/faboollaser.app/Contents/MacOS/datetime.so faboollasermac/faboollaser.app/Contents/MacOS/fcntl.so faboollasermac/faboollaser.app/Contents/MacOS/frontend faboollasermac/faboollaser.app/Contents/MacOS/grp.so faboollasermac/faboollaser.app/Contents/MacOS/include faboollasermac/faboollaser.app/Contents/MacOS/itertools.so faboollasermac/faboollaser.app/Contents/MacOS/lib faboollasermac/faboollaser.app/Contents/MacOS/math.so faboollasermac/faboollaser.app/Contents/MacOS/operator.so faboollasermac/faboollaser.app/Contents/MacOS/readline.so faboollasermac/faboollaser.app/Contents/MacOS/resource.so faboollasermac/faboollaser.app/Contents/MacOS/select.so faboollasermac/faboollaser.app/Contents/MacOS/strop.so faboollasermac/faboollaser.app/Contents/MacOS/termios.so faboollasermac/faboollaser.app/Contents/MacOS/time.so faboollasermac/faboollaser.app/Contents/MacOS/unicodedata.so faboollasermac/faboollaser.app/Contents/MacOS/zlib.so faboollasermac/faboollaser.app/Contents/Resources faboollasermac/faboollaser.app/Contents/Resources/frontend faboollasermac/faboollaser.app/Contents/Resources/frontend/admin.js faboollasermac/faboollaser.app/Contents/Resources/frontend/app.css faboollasermac/faboollaser.app/Contents/Resources/frontend/app.html faboollasermac/faboollaser.app/Contents/Resources/frontend/app.js faboollasermac/faboollaser.app/Contents/Resources/frontend/assetsfa19c0ffd7c43e9906a09d1c5f6a7b68.png faboollasermac/faboollaser.app/Contents/Resources/frontend/vendor.js faboollasermac/faboollaser.app/Contents/Resources/icon-windowed.icns faboollasermac/faboollaser.app/Contents/Resources/include faboollasermac/faboollaser.app/Contents/Resources/include/python2.7 faboollasermac/faboollaser.app/Contents/Resources/include/python2.7/pyconfig.h faboollasermac/faboollaser.app/Contents/Resources/lib faboollasermac/faboollaser.app/Contents/Resources/lib/python2.7 faboollasermac/faboollaser.app/Contents/Resources/lib/python2.7/config faboollasermac/faboollaser.app/Contents/Resources/lib/python2.7/config/Makefile
ãªããããã¡ã¤ã«ã¯èªåã§æ¶ããªãã¨ãããªããããã
ã»ãã©ã¯ã½ãªã¢ããªããããã¨ãã
ãã§ãããã©ãã«å
¥ã£ãã®ãï¼
$ sudo find / | grep faboollasermac Password: /Library/faboollasermac /Library/faboollasermac/dfu /Library/faboollasermac/dfu/bin /Library/faboollasermac/dfu/bin/dfu-util /Library/faboollasermac/dfu/lib /Library/faboollasermac/dfu/lib/libusb-1.0.0.dylib /Library/faboollasermac/faboollaser.app /Library/faboollasermac/faboollaser.app/Contents /Library/faboollasermac/faboollaser.app/Contents/Frameworks /Library/faboollasermac/faboollaser.app/Contents/Info.plist /Library/faboollasermac/faboollaser.app/Contents/MacOS /Library/faboollasermac/faboollaser.app/Contents/MacOS/MacOS.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/Nav.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/Python /Library/faboollasermac/faboollaser.app/Contents/MacOS/_AE.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/_Ctl.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/_Dlg.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/_Evt.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/_File.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/_Menu.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/_Qd.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/_Res.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/_Win.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/_codecs_cn.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/_codecs_hk.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/_codecs_iso2022.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/_codecs_jp.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/_codecs_kr.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/_codecs_tw.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/_collections.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/_ctypes.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/_functools.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/_hashlib.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/_heapq.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/_io.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/_json.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/_locale.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/_multibytecodec.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/_random.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/_scproxy.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/_socket.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/_ssl.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/_struct.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/app /Library/faboollasermac/faboollaser.app/Contents/MacOS/array.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/binascii.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/bz2.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/cPickle.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/cStringIO.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/datetime.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/fcntl.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/frontend /Library/faboollasermac/faboollaser.app/Contents/MacOS/grp.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/include /Library/faboollasermac/faboollaser.app/Contents/MacOS/itertools.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/lib /Library/faboollasermac/faboollaser.app/Contents/MacOS/math.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/operator.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/readline.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/resource.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/select.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/strop.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/termios.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/time.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/unicodedata.so /Library/faboollasermac/faboollaser.app/Contents/MacOS/zlib.so /Library/faboollasermac/faboollaser.app/Contents/Resources /Library/faboollasermac/faboollaser.app/Contents/Resources/frontend /Library/faboollasermac/faboollaser.app/Contents/Resources/frontend/admin.js /Library/faboollasermac/faboollaser.app/Contents/Resources/frontend/app.css /Library/faboollasermac/faboollaser.app/Contents/Resources/frontend/app.html /Library/faboollasermac/faboollaser.app/Contents/Resources/frontend/app.js /Library/faboollasermac/faboollaser.app/Contents/Resources/frontend/assetsfa19c0ffd7c43e9906a09d1c5f6a7b68.png /Library/faboollasermac/faboollaser.app/Contents/Resources/frontend/vendor.js /Library/faboollasermac/faboollaser.app/Contents/Resources/icon-windowed.icns /Library/faboollasermac/faboollaser.app/Contents/Resources/include /Library/faboollasermac/faboollaser.app/Contents/Resources/include/python2.7 /Library/faboollasermac/faboollaser.app/Contents/Resources/include/python2.7/pyconfig.h /Library/faboollasermac/faboollaser.app/Contents/Resources/lib /Library/faboollasermac/faboollaser.app/Contents/Resources/lib/python2.7 /Library/faboollasermac/faboollaser.app/Contents/Resources/lib/python2.7/config /Library/faboollasermac/faboollaser.app/Contents/Resources/lib/python2.7/config/Makefile (snip)
$ sudo find / | grep LaunchDaemons | grep smartdiys /Library/LaunchDaemons/com.smartdiys.faboollaser.plist
å ´æã¯ããã£ãã
$ sudo rm -rf /Library/faboollasermac $ sudo rm /Library/LaunchDaemons/com.smartdiys.faboollaser.plist
ããã±ã¼ã¸æ å ±ãåé¤ãã¦ããã
$ sudo pkgutil --forget com.smartdiys.faboollaser Forgot package 'com.smartdiys.faboollaser' on '/'.
ãã£ã¨ãããã«ãªã£ãã
ããããã¾ã ããã»ã¹ãåãã¦ãã模æ§ã
$ ps ax | grep fabool 36832 ?? Ss 3:01.69 /Library/faboollasermac/faboollaser.app/Contents/MacOS/app $ sudo kill 36832
ã©ã£ãã«ãã¼ã¿ãä¿æãã¦ããã¨æãã®ã ãã©ããã¡ãã¯UIä¸ã§å ¨é¨åé¤ãã¦ããä½æ¥ããã®ã§ä¸æã
frpã使ã£ãNATé ä¸ãã·ã³ã®ä¸ç¶æ¥ç¶
ã¡ãã£ã¨ããä½èã«ä½¿ãã®ã«ãgoã§æ¸ãããfrpã使ã£ã¦ãNATé
ä¸ã®raspiä¸ã®owncloudãããããã®ã¯ã©ã¦ãã«ç½®ããã¤ã³ã¹ã¿ã³ã¹ã§ä¸ç¶æ¥ç¶ããã¦ã¿ãã
ææã«ãªã£ã¡ãã£ããngrokãèªåã§ããçãªãã®ã
frpã®æ¥æ¬èªã®è³æã¯ãªããã©ãä¸å½èªã¯ãã£ã±ãããããããã®ããã£ãw
androidã®owncloudã¯ã©ã¤ã¢ã³ãβ(99å)ãããæ®éã«æ¥ç¶ãã¦ããã
proxyé
ä¸ããã®æ¥ç¶ãåé¡ãªãã
ã¾ã£ããã®ã¼ãããï¼æéãããã
ä¸çªæéããã£ãã®ã¯æ¬é¡ã§ã¯ãªãowncloudã
frpã¯makeããã«ãã¤ããªé
å¸ã®åã¢ã¼ããã¯ãã£åãã®ã使ã£ãã
frpã¯ãsshã ããªãè¨å®ã¯è¶
ç°¡åã ã£ãã
webã®ä¸ç¶ã¯ç¬ç¹ãªæãã§ããã©ããããä½ã¶æãã¡ãã£ã¨è©¦è¡é¯èª¤ãã£ãã
TSLåã¨frpã®èªè¨¼ã¯è¨å®ãã¦ããªãã
owncloud config.iniã®trusted_hostã®è¨å®ã¯ããããå´ã®IPããã¼ãã³ã¼ããã¦ãã¾ã£ãã®ã§è§£æ±ºãã¦ãªãã
*ã§ã¯éããªãã£ããå¶éãããªãæ¹æ³ã¯ãªããã ãããï¼
æ°æ¥ä½¿ã£ã¦ã¿ãããè¶
å®å®ãã¦ããã
é度ããã¾ããããªãããããªãããªã¨ããæãã
èªè¨¼å¼·åã¨TLSåãããããã§ãã®ã¾ã¾ä½¿ã£ã¦ããããã
ownClowdã®ã¯ã©ã¤ã¢ã³ããã¤ãã¤ãã ãã©ãããã¯DAVã¯ã©ã¤ã¢ã³ãã§ããããªã
ä¸ç¶ãµã¼ãã¼å´ã¯ã©ã®ãããã®æ¥ç¶ã許ãã®ããã©ã®ãããã®ã«ã¼ã«ãæ¸ããã®ãããã¨ã¢ãã¿ãµã¼ãã¼ãèµ·åãã¦ã¿ã¦ãªãã®ã§ããããè¦ã¦ã¿ãããdaemonãsystemdé
ä¸ã«ããã®ããããªã
NASãWebCamã«frpçµã¿è¾¼ãã§ã¿ãã®ãããããã
sourceããã®ãã«ãããã£ã¦ã¿ãªãã¨ã
ããããææ¸è©±äººä¼ ã®æºåã®ãå
ãw
ã¾ã å稿ã§ãã¦ãªãw
å°å·ã¨è£½æ¬ãæã§ããã®ã§æéãè¦ããã
procããuuidä½ãã¨ã14æåç®ã4ã«ãªã
uuidããã¡ã¤ã«åã«ãã¦ããããä½ã£ããã®ãlsãã¦æ°ãã¤ããã
漫ç¶ã¨è¡¨ç¤ºãã¦ãã ããªãæ°ãä»ããªãã£ãããã
åç¾ãã¹ãã
#!/bin/bash for i in `seq 1000` do cat /proc/sys/kernel/random/uuid | awk -F'-' '{print $1$2$3$4$5}u' >> test.log done cat test.log| cut -c 13 | sort | uniq -c
$ ./test.sh
1000 4
é¢ç½ãã
ç°å¢ã¯AWS t2.microã§ubuntu 16.04.4ã
$ uname -a
Linux ip-xxx-xxx-xxx-xxx 4.4.0-1049-aws #58-Ubuntu SMP Fri Jan 12 23:17:09 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/os-release
NAME="Ubuntu"
VERSION="16.04.4 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.4 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial
UUIDã£ã¦ãå®å
¨ä¹±æ°ãã¨æã£ã¦ãããver4ã§ã¯ããªã¢ã³ãã¨ãã¼ã¸ã§ã³æ
å ±ãå
¥ãã®ãã
16é²è¡¨è¨ã§ã¯RRRRRRRR-RRRR-4RRR-rRRR-RRRRRRRRRRRRã¨ãªããããªã¢ã³ã(10)ã¨ãã¼ã¸ã§ã³(0100)ãé¤ããã¹ã¦ã®ããããä¹±æ°ï¼R:122ãããï¼ã§çæããã
è¦åæ§ãåããã¦ããã®ã§ããã°ãæ±ãã«ã¯æ³¨æããªãã¨ãããªããª...
High Sierraã«ããããsshã§ãã¹ãã¬ã¼ãºãå¿ ãèãããããã«ãªã£ã¦ããã©ããã
Sierraããã ããã§ããã©ã
$ vi ~/.ssh/config
UseRoaming no
ããããæ¸ãã¦ãªãã£ãâ¦
以ä¸è¿½è¨ã
ServerAliveInterval 1200
ServerAliveCountMax 12
TCPKeepAlive yes
Compression yes
AddKeysToAgent yes
UseKeychain yes
GSSAPIAuthentication no
ãããªæãã«ã
ããããååã¯åãããã«èãããã
ãã®ãã¨ã¯è¦ãã¦ãããããã ã
ã¹ãã¯ã¿ã¼ã¨ã¡ã«ããã¦ã³ã®ã·ã§ã«ã¹ã¯ãªããç°¡æãã§ãã«ã¼ããã£ãã®ã§è©¦ãã¦ã¿ã
speed47/spectre-meltdown-checker: Spectre & Meltdown vulnerability/mitigation checker for Linux
https://github.com/speed47/spectre-meltdown-checker
ä½ãå®è¡ãã¦èª¿ã¹ãããã§ã¯ãªããããããªãã©ã¡ã¼ã¿ããç¶æ
ã調ã¹ãã ãã®ããã
ãã¦ã³ãã¼ããã¦å®è¡ãã¦ã¿ãã
ãããã®ã¯ã©ã¦ã
ã¿ã¼ã²ããã¯ãã¾ã 対çãããã¦ããªã"ãããã®ã¯ã©ã¦ã"ã§ã®ã¤ã³ã¹ã¿ã³ã¹ã
ãã¦ã³ãã¼ããã¦å®è¡æ¨©éãä¸ããã
ubuntu@psv:~/test$ wget https://raw.githubusercontent.com/speed47/spectre-meltdown-checker/master/spectre-meltdown-checker.sh --2018-01-16 13:33:29-- https://raw.githubusercontent.com/speed47/spectre-meltdown-checker/master/spectre-meltdown-checker.sh Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.228.133 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.228.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 36439 (36K) [text/plain] Saving to: âspectre-meltdown-checker.shâ spectre-meltdown-ch 100%[===================>] 35.58K --.-KB/s in 0.03s 2018-01-16 13:33:29 (1.26 MB/s) - âspectre-meltdown-checker.shâ saved [36439/36439] ubuntu@psv:~/test$ chmod +x spectre-meltdown-checker.sh
rootã§å®è¡ããã£ã¦ãã¨ã ãã©ãã¦ã¼ã¶ã¼æ¨©éã§ãããç¨åº¦ã¯ãããã
ubuntu@psv:~/test$ ./spectre-meltdown-checker.sh Spectre and Meltdown mitigation detection tool v0.31 Note that you should launch this script with root privileges to get accurate information. We'll proceed but you might see permission denied errors. To run it as root, you can try the following command: sudo ./spectre-meltdown-checker.sh Checking for vulnerabilities against running kernel Linux 4.4.0-96-generic #119-Ubuntu SMP Tue Sep 12 14:59:54 UTC 2017 x86_64 CPU is Intel(R) Xeon(R) CPU E5-2640 0 @ 2.50GHz ./spectre-meltdown-checker.sh: 1: ./spectre-meltdown-checker.sh: cannot open /boot/vmlinuz-4.4.0-96-generic: Permission denied ./spectre-meltdown-checker.sh: 1: ./spectre-meltdown-checker.sh: cannot open /boot/vmlinuz-4.4.0-96-generic: Permission denied ./spectre-meltdown-checker.sh: 1: ./spectre-meltdown-checker.sh: cannot open /boot/vmlinuz-4.4.0-96-generic: Permission denied ./spectre-meltdown-checker.sh: 1: ./spectre-meltdown-checker.sh: cannot open /boot/vmlinuz-4.4.0-96-generic: Permission denied ./spectre-meltdown-checker.sh: 1: ./spectre-meltdown-checker.sh: cannot open /boot/vmlinuz-4.4.0-96-generic: Permission denied ./spectre-meltdown-checker.sh: 1: ./spectre-meltdown-checker.sh: cannot open /boot/vmlinuz-4.4.0-96-generic: Permission denied CVE-2017-5753 [bounds check bypass] aka 'Spectre Variant 1' * Checking count of LFENCE opcodes in kernel: UNKNOWN > STATUS: UNKNOWN (couldn't check (couldn't extract your kernel from /boot/vmlinuz-4.4.0-96-generic)) CVE-2017-5715 [branch target injection] aka 'Spectre Variant 2' * Mitigation 1 * Hardware (CPU microcode) support for mitigation * The SPEC_CTRL MSR is available: UNKNOWN (couldn't read /dev/cpu/0/msr, is msr support enabled in your kernel?) * The SPEC_CTRL CPUID feature bit is set: UNKNOWN (couldn't read /dev/cpu/0/cpuidr, is cpuid support enabled in your kernel?) * Kernel support for IBRS: NO * IBRS enabled for Kernel space: NO * IBRS enabled for User space: NO * Mitigation 2 * Kernel compiled with retpoline option: NO * Kernel compiled with a retpoline-aware compiler: NO > STATUS: VULNERABLE (IBRS hardware + kernel support OR kernel with retpoline are needed to mitigate the vulnerability) CVE-2017-5754 [rogue data cache load] aka 'Meltdown' aka 'Variant 3' * Kernel supports Page Table Isolation (PTI): NO * PTI enabled and active: NO * Checking if we're running under Xen PV (64 bits): NO > STATUS: VULNERABLE (PTI is needed to mitigate the vulnerability) A false sense of security is worse than no security at all, see --disclaimer
rootã§ãã£ã¦ã¿ãã
ubuntu@psv:~/test$ sudo ./spectre-meltdown-checker.sh [sudo] password for ubuntu: Spectre and Meltdown mitigation detection tool v0.31 Checking for vulnerabilities against running kernel Linux 4.4.0-96-generic #119-Ubuntu SMP Tue Sep 12 14:59:54 UTC 2017 x86_64 CPU is Intel(R) Xeon(R) CPU E5-2640 0 @ 2.50GHz CVE-2017-5753 [bounds check bypass] aka 'Spectre Variant 1' * Checking count of LFENCE opcodes in kernel: NO > STATUS: VULNERABLE (only 33 opcodes found, should be >= 70, heuristic to be improved when official patches become available) CVE-2017-5715 [branch target injection] aka 'Spectre Variant 2' * Mitigation 1 * Hardware (CPU microcode) support for mitigation * The SPEC_CTRL MSR is available: YES * The SPEC_CTRL CPUID feature bit is set: NO * Kernel support for IBRS: NO * IBRS enabled for Kernel space: NO * IBRS enabled for User space: NO * Mitigation 2 * Kernel compiled with retpoline option: NO * Kernel compiled with a retpoline-aware compiler: NO > STATUS: VULNERABLE (IBRS hardware + kernel support OR kernel with retpoline are needed to mitigate the vulnerability) CVE-2017-5754 [rogue data cache load] aka 'Meltdown' aka 'Variant 3' * Kernel supports Page Table Isolation (PTI): NO * PTI enabled and active: NO * Checking if we're running under Xen PV (64 bits): NO > STATUS: VULNERABLE (PTI is needed to mitigate the vulnerability) A false sense of security is worse than no security at all, see --disclaimer
ãªã¢ã«ãªè¡¨ç¤ºã¯ãã¨ã¹ã±ã¼ãã·ã¼ã±ã³ã§ã«ã©ãã«ã«ãªã£ã¦ããããããã£ã¨ãããããããã
対çã¯ããã¦ããªãã
ubuntu@psv:~$ uname -a Linux psv 4.4.0-96-generic #119-Ubuntu SMP Tue Sep 12 14:59:54 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
ubuntu@psv:~$ sudo apt-get update ubuntu@psv:~$ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages have been kept back: libdrm-amdgpu1 libdrm2 libegl1-mesa libgbm1 libgl1-mesa-dri libwayland-egl1-mesa linux-generic linux-headers-generic linux-image-generic The following packages will be upgraded: libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common ubuntu-mono 3 upgraded, 0 newly installed, 0 to remove and 9 not upgraded. Need to get 346 kB of archives. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y (snip)
xenial-updates/mainã«ããxenial-security/mainã«ãã対çããã±ã¼ã¸ã¯æ¥ã¦ããªãããã ã
AWS
AWSã§ããã£ã¦ã¿ããããªã
$ sudo ./spectre-meltdown-checker.sh Spectre and Meltdown mitigation detection tool v0.31 Checking for vulnerabilities against running kernel Linux 4.4.0-1039-aws #48-Ubuntu SMP Wed Oct 11 15:15:01 UTC 2017 x86_64 CPU is Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz CVE-2017-5753 [bounds check bypass] aka 'Spectre Variant 1' * Checking count of LFENCE opcodes in kernel: NO > STATUS: VULNERABLE (only 33 opcodes found, should be >= 70, heuristic to be improved when official patches become available) CVE-2017-5715 [branch target injection] aka 'Spectre Variant 2' * Mitigation 1 * Hardware (CPU microcode) support for mitigation * The SPEC_CTRL MSR is available: YES * The SPEC_CTRL CPUID feature bit is set: NO * Kernel support for IBRS: NO * IBRS enabled for Kernel space: NO * IBRS enabled for User space: NO * Mitigation 2 * Kernel compiled with retpoline option: NO * Kernel compiled with a retpoline-aware compiler: NO > STATUS: VULNERABLE (IBRS hardware + kernel support OR kernel with retpoline are needed to mitigate the vulnerability) CVE-2017-5754 [rogue data cache load] aka 'Meltdown' aka 'Variant 3' * Kernel supports Page Table Isolation (PTI): NO * PTI enabled and active: NO * Checking if we're running under Xen PV (64 bits): NO > STATUS: VULNERABLE (PTI is needed to mitigate the vulnerability) A false sense of security is worse than no security at all, see --disclaimer
EC2ã®ä¸èº«ã¾ã§ã¯è²¬ä»»ã®ç¯å²å¤ã§ãèªåã§ããã£ã¦ãã¨ãã
ããã±ã¼ã¸ã¢ãããã¼ããã¦åèµ·åã
$ sudo apt-get update $ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages were automatically installed and are no longer required: linux-aws-headers-4.4.0-1028 linux-aws-headers-4.4.0-1035 linux-aws-headers-4.4.0-1038 linux-aws-headers-4.4.0-1041 linux-aws-headers-4.4.0-1043 linux-aws-headers-4.4.0-1044 linux-headers-4.4.0-1028-aws linux-headers-4.4.0-1035-aws linux-headers-4.4.0-1038-aws linux-headers-4.4.0-1041-aws linux-headers-4.4.0-1043-aws linux-headers-4.4.0-1044-aws linux-image-4.4.0-1028-aws linux-image-4.4.0-1035-aws linux-image-4.4.0-1038-aws linux-image-4.4.0-1041-aws linux-image-4.4.0-1043-aws linux-image-4.4.0-1044-aws Use 'sudo apt autoremove' to remove them. The following packages have been kept back: libdrm2 The following packages will be upgraded: grub-common grub-pc grub-pc-bin grub2-common libseccomp2 squashfs-tools unattended-upgrades 7 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. Need to get 3,477 kB of archives. After this operation, 28.7 kB of additional disk space will be used. Do you want to continue? [Y/n] y (snip) $ sudo reboot
AWSã®ã¯ç¬èªããã±ã¼ã¸ã®ããã ã
ãããªã«æ°ãããªããªã
$ uname -a Linux ip-xxx-xxx-xxx-xxx 4.4.0-1048-aws #57-Ubuntu SMP Tue Jan 9 21:45:57 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
å®è¡ããã
$ sudo ./spectre-meltdown-checker.sh Spectre and Meltdown mitigation detection tool v0.31 Checking for vulnerabilities against running kernel Linux 4.4.0-1048-aws #57-Ubuntu SMP Tue Jan 9 21:45:57 UTC 2018 x86_64 CPU is Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz CVE-2017-5753 [bounds check bypass] aka 'Spectre Variant 1' * Checking count of LFENCE opcodes in kernel: NO > STATUS: VULNERABLE (only 35 opcodes found, should be >= 70, heuristic to be improved when official patches become available) CVE-2017-5715 [branch target injection] aka 'Spectre Variant 2' * Mitigation 1 * Hardware (CPU microcode) support for mitigation * The SPEC_CTRL MSR is available: YES * The SPEC_CTRL CPUID feature bit is set: NO * Kernel support for IBRS: NO * IBRS enabled for Kernel space: NO * IBRS enabled for User space: NO * Mitigation 2 * Kernel compiled with retpoline option: NO * Kernel compiled with a retpoline-aware compiler: NO > STATUS: VULNERABLE (IBRS hardware + kernel support OR kernel with retpoline are needed to mitigate the vulnerability) CVE-2017-5754 [rogue data cache load] aka 'Meltdown' aka 'Variant 3' * Kernel supports Page Table Isolation (PTI): YES * PTI enabled and active: YES * Checking if we're running under Xen PV (64 bits): NO > STATUS: NOT VULNERABLE (PTI mitigates the vulnerability) A false sense of security is worse than no security at all, see --disclaimer
ã¹ãã¯ã¿ã¼ã¯æªå¯¾çã
ã¡ã«ããã¦ã³ã®å¯¾çããããã®ã¯ããã£ãã