{"id":15469,"date":"2023-10-01T17:35:54","date_gmt":"2023-10-01T08:35:54","guid":{"rendered":"https:\/\/lab4ict.com\/system\/?p=15469"},"modified":"2023-10-01T21:52:45","modified_gmt":"2023-10-01T12:52:45","slug":"clamav%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b%ef%bc%81%ef%bc%88ubuntu-desktop-22-04%ef%bc%89","status":"publish","type":"post","link":"https:\/\/lab4ict.com\/system\/archives\/15469","title":{"rendered":"ClamAV\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\uff01\uff08Ubuntu Desktop 22.04\uff09"},"content":{"rendered":"<p>Ubuntu Desktop 22.04\u306b\u3001ClamAV\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002ClamAV\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u30a6\u30a3\u30eb\u30b9\u30c1\u30a7\u30c3\u30af\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\n<!--more--><\/p>\n<h2>ClamAV\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\uff01<\/h2>\n<p>ClamAV\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\u6700\u521d\u306b\u3001ClamAV\u306e\u672c\u4f53\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n$ sudo apt install clamav\r\nReading package lists... Done\r\nBuilding dependency tree... Done\r\nReading state information... Done\r\nThe following additional packages will be installed:\r\n  clamav-base clamav-freshclam libclamav9 libtfm1\r\nSuggested packages:\r\n  libclamunrar clamav-docs libclamunrar9\r\nThe following NEW packages will be installed:\r\n  clamav clamav-base clamav-freshclam libclamav9 libtfm1\r\n0 upgraded, 5 newly installed, 0 to remove and 25 not upgraded.\r\nNeed to get 1,231 kB of archives.\r\nAfter this operation, 3,877 kB of additional disk space will be used.\r\n...\r\n<\/pre>\n<p>\u30d0\u30c3\u30af\u30b0\u30e9\u30a6\u30f3\u30c9\u3067\u5b9f\u884c\u3059\u308b\u305f\u3081\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n$ sudo apt install clamav-daemon\r\nReading package lists... Done\r\nBuilding dependency tree... Done\r\nReading state information... Done\r\nThe following additional packages will be installed:\r\n  clamdscan\r\nSuggested packages:\r\n  libclamunrar clamav-docs daemon\r\nThe following NEW packages will be installed:\r\n  clamav-daemon clamdscan\r\n0 upgraded, 2 newly installed, 0 to remove and 25 not upgraded.\r\nNeed to get 268 kB of archives.\r\nAfter this operation, 1,258 kB of additional disk space will be used.\r\n...\r\n<\/pre>\n<p>\u4ee5\u4e0a\u3067\u3001\u4e3b\u8981\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u305f\u304c\u3001Debian\u7cfb\u306e\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u3067\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u5225\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u8ffd\u52a0\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li>clamav - command-line interface<\/li>\n<li>clamav-base - base package<\/li>\n<li>clamav-daemon - scanner daemon<\/li>\n<li>clamav-docs - documentation<\/li>\n<li>clamav-freshclam - virus database update utility<\/li>\n<li>clamav-milter - sendmail integration<\/li>\n<li>clamav-testfiles - test files<\/li>\n<li>libclamav-dev - development files<\/li>\n<li>libclamav9 - library<\/li>\n<li>libclamunrar9 - unrar support<\/li>\n<\/ul>\n<h2>\u30a6\u30a3\u30eb\u30b9\u30c1\u30a7\u30c3\u30af\u306e\u30c6\u30b9\u30c8\u3092\u884c\u3046<\/h2>\n<p>\u30a6\u30a3\u30eb\u30b9\u30c1\u30a7\u30c3\u30af\u306e\u30c6\u30b9\u30c8\u3092\u884c\u3044\u307e\u3059\u3002\u30c6\u30b9\u30c8\u7528\u306e\u30a6\u30a3\u30eb\u30b9\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n$ sudo apt install clamav-testfiles\r\nReading package lists... Done\r\nBuilding dependency tree... Done\r\nReading state information... Done\r\nThe following NEW packages will be installed:\r\n  clamav-testfiles\r\n0 upgraded, 1 newly installed, 0 to remove and 25 not upgraded.\r\nNeed to get 2,888 kB of archives.\r\nAfter this operation, 6,699 kB of additional disk space will be used.\r\n...\r\n<\/pre>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u30c6\u30b9\u30c8\u7528\u30a6\u30a3\u30eb\u30b9\u306e\u691c\u77e5\u3092\u8a66\u307f\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n$ sudo clamscan \/usr\/share\/clamav-testfiles\r\n\/usr\/share\/clamav-testfiles\/clam-petite.exe: Clamav.Test.File-6 FOUND\r\n\/usr\/share\/clamav-testfiles\/clam.bin-le.cpio: Clamav.Test.File-6 FOUND\r\n\/usr\/share\/clamav-testfiles\/clam.odc.cpio: Clamav.Test.File-6 FOUND\r\n\/usr\/share\/clamav-testfiles\/clam.sis: Clamav.Test.File-6 FOUND\r\n\/usr\/share\/clamav-testfiles\/clam.exe: Clamav.Test.File-6 FOUND\r\n\/usr\/share\/clamav-testfiles\/clam-fsg.exe: Clamav.Test.File-6 FOUND\r\n\/usr\/share\/clamav-testfiles\/clam-upack.exe: Clamav.Test.File-6 FOUND\r\n\/usr\/share\/clamav-testfiles\/clam.mail: Clamav.Test.File-6 FOUND\r\n\/usr\/share\/clamav-testfiles\/clam.exe.html: Clamav.Test.File-6 FOUND\r\n\/usr\/share\/clamav-testfiles\/clam.impl.zip: Clamav.Test.File-6 FOUND\r\n\/usr\/share\/clamav-testfiles\/clam.exe.rtf: Clamav.Test.File-6 FOUND\r\n\/usr\/share\/clamav-testfiles\/clam.ea06.exe: Clamav.Test.File-6 FOUND\r\n\/usr\/share\/clamav-testfiles\/clam_IScab_ext.exe: Clamav.Test.File-6 FOUND\r\n\/usr\/share\/clamav-testfiles\/clam.zip: Clamav.Test.File-6 FOUND\r\n\/usr\/share\/clamav-testfiles\/clam-aspack.exe: Clamav.Test.File-6 FOUND\r\n\/usr\/share\/clamav-testfiles\/clam.exe.szdd: Clamav.Test.File-6 FOUND\r\n\/usr\/share\/clamav-testfiles\/clam.ole.doc: Clamav.Test.File-6 FOUND\r\n\/usr\/share\/clamav-testfiles\/clam.7z: Clamav.Test.File-6 FOUND\r\n\/usr\/share\/clamav-testfiles\/clam-pespin.exe: Clamav.Test.File-6 FOUND\r\n\/usr\/share\/clamav-testfiles\/clam.ea05.exe: Clamav.Test.File-6 FOUND\r\n\/usr\/share\/clamav-testfiles\/clam-v2.rar: OK\r\n\/usr\/share\/clamav-testfiles\/clam.exe.mbox.uu: Clamav.Test.File-6 FOUND\r\n\/usr\/share\/clamav-testfiles\/clam-v3.rar: OK\r\n\/usr\/share\/clamav-testfiles\/clam.newc.cpio: Clamav.Test.File-6 FOUND\r\n\/usr\/share\/clamav-testfiles\/clam.tnef: Clamav.Test.File-6 FOUND\r\n\/usr\/share\/clamav-testfiles\/clam.d64.zip: Clamav.Test.File-6 FOUND\r\n\/usr\/share\/clamav-testfiles\/clam_IScab_int.exe: Clamav.Test.File-6 FOUND\r\n\/usr\/share\/clamav-testfiles\/clam-upx.exe: Clamav.Test.File-6 FOUND\r\n\/usr\/share\/clamav-testfiles\/clam-yc.exe: Clamav.Test.File-6 FOUND\r\n\/usr\/share\/clamav-testfiles\/clam_ISmsi_int.exe: Clamav.Test.File-6 FOUND\r\n\/usr\/share\/clamav-testfiles\/clam_cache_emax.tgz: Clamav.Test.File-6 FOUND\r\n\/usr\/share\/clamav-testfiles\/clam.arj: Clamav.Test.File-6 FOUND\r\n\/usr\/share\/clamav-testfiles\/clam.chm: Clamav.Test.File-6 FOUND\r\n\/usr\/share\/clamav-testfiles\/clam.pdf: Clamav.Test.File-6 FOUND\r\n\/usr\/share\/clamav-testfiles\/clam.bin-be.cpio: Clamav.Test.File-6 FOUND\r\n\/usr\/share\/clamav-testfiles\/clam-wwpack.exe: Clamav.Test.File-6 FOUND\r\n\/usr\/share\/clamav-testfiles\/clam_ISmsi_ext.exe: Clamav.Test.File-6 FOUND\r\n\/usr\/share\/clamav-testfiles\/clam.exe.mbox.base64: Clamav.Test.File-6 FOUND\r\n\/usr\/share\/clamav-testfiles\/clam.exe.binhex: Clamav.Test.File-6 FOUND\r\n\/usr\/share\/clamav-testfiles\/clam.ppt: Clamav.Test.File-6 FOUND\r\n\/usr\/share\/clamav-testfiles\/clam-nsis.exe: Clamav.Test.File-6 FOUND\r\n\/usr\/share\/clamav-testfiles\/clam.bz2.zip: Clamav.Test.File-6 FOUND\r\n\/usr\/share\/clamav-testfiles\/clam.exe.bz2: Clamav.Test.File-6 FOUND\r\n\/usr\/share\/clamav-testfiles\/clam-mew.exe: Clamav.Test.File-6 FOUND\r\n\/usr\/share\/clamav-testfiles\/clam.cab: Clamav.Test.File-6 FOUND\r\n\/usr\/share\/clamav-testfiles\/clam.tar.gz: Clamav.Test.File-6 FOUND\r\n\r\n----------- SCAN SUMMARY -----------\r\nKnown viruses: 8673710\r\nEngine version: 0.103.9\r\nScanned directories: 1\r\nScanned files: 46\r\nInfected files: 44\r\nData scanned: 14.02 MB\r\nData read: 6.21 MB (ratio 2.26:1)\r\nTime: 35.438 sec (0 m 35 s)\r\nStart Date: 2023:10:01 17:31:02\r\nEnd Date:   2023:10:01 17:31:37\r\n<\/pre>\n<h2>\u30a6\u30a3\u30eb\u30b9\u30b9\u30ad\u30e3\u30f3\u306e\u8a2d\u5b9a\u3092\u78ba\u8a8d\u3059\u308b\uff01<\/h2>\n<p>\u30a6\u30a3\u30eb\u30b9\u30b9\u30ad\u30e3\u30f3\u306e\u8a2d\u5b9a\u306f\u3001\u300c\/etc\/clamav\/clamd.conf \u300d\u3067\u884c\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n$ cat \/etc\/clamav\/clamd.conf \r\n#Automatically Generated by clamav-daemon postinst\r\n#To reconfigure clamd run #dpkg-reconfigure clamav-daemon\r\n#Please read \/usr\/share\/doc\/clamav-daemon\/README.Debian.gz for details\r\nLocalSocket \/var\/run\/clamav\/clamd.ctl\r\nFixStaleSocket true\r\nLocalSocketGroup clamav\r\nLocalSocketMode 666\r\n# TemporaryDirectory is not set to its default \/tmp here to make overriding\r\n# the default with environment variables TMPDIR\/TMP\/TEMP possible\r\nUser clamav\r\nScanMail true\r\nScanArchive true\r\nArchiveBlockEncrypted false\r\nMaxDirectoryRecursion 15\r\nFollowDirectorySymlinks false\r\nFollowFileSymlinks false\r\nReadTimeout 180\r\nMaxThreads 12\r\nMaxConnectionQueueLength 15\r\nLogSyslog false\r\nLogRotate true\r\nLogFacility LOG_LOCAL6\r\nLogClean false\r\nLogVerbose false\r\nPreludeEnable no\r\nPreludeAnalyzerName ClamAV\r\nDatabaseDirectory \/var\/lib\/clamav\r\nOfficialDatabaseOnly false\r\nSelfCheck 3600\r\nForeground false\r\nDebug false\r\nScanPE true\r\nMaxEmbeddedPE 10M\r\nScanOLE2 true\r\nScanPDF true\r\nScanHTML true\r\nMaxHTMLNormalize 10M\r\nMaxHTMLNoTags 2M\r\nMaxScriptNormalize 5M\r\nMaxZipTypeRcg 1M\r\nScanSWF true\r\nExitOnOOM false\r\nLeaveTemporaryFiles false\r\nAlgorithmicDetection true\r\nScanELF true\r\nIdleTimeout 30\r\nCrossFilesystems true\r\nPhishingSignatures true\r\nPhishingScanURLs true\r\nPhishingAlwaysBlockSSLMismatch false\r\nPhishingAlwaysBlockCloak false\r\nPartitionIntersection false\r\nDetectPUA false\r\nScanPartialMessages false\r\nHeuristicScanPrecedence false\r\nStructuredDataDetection false\r\nCommandReadTimeout 30\r\nSendBufTimeout 200\r\nMaxQueue 100\r\nExtendedDetectionInfo true\r\nOLE2BlockMacros false\r\nAllowAllMatchScan true\r\nForceToDisk false\r\nDisableCertCheck false\r\nDisableCache false\r\nMaxScanTime 120000\r\nMaxScanSize 100M\r\nMaxFileSize 25M\r\nMaxRecursion 16\r\nMaxFiles 10000\r\nMaxPartitions 50\r\nMaxIconsPE 100\r\nPCREMatchLimit 10000\r\nPCRERecMatchLimit 5000\r\nPCREMaxFileSize 25M\r\nScanXMLDOCS true\r\nScanHWP3 true\r\nMaxRecHWP3 16\r\nStreamMaxLength 25M\r\nLogFile \/var\/log\/clamav\/clamav.log\r\nLogTime true\r\nLogFileUnlock false\r\nLogFileMaxSize 0\r\nBytecode true\r\nBytecodeSecurity TrustSigned\r\nBytecodeTimeout 60000\r\nOnAccessMaxFileSize 5M\r\n<\/pre>\n<h2>\u30a6\u30a3\u30eb\u30b9\u5b9a\u7fa9\u30d5\u30a1\u30a4\u30eb\u306e\u66f4\u65b0\u306e\u8a2d\u5b9a\u3092\u78ba\u8a8d\u3059\u308b\uff01<\/h2>\n<p>\u30a6\u30a3\u30eb\u30b9\u5b9a\u7fa9\u30d5\u30a1\u30a4\u30eb\u306e\u66f4\u65b0\u306e\u8a2d\u5b9a\u306f\u3001\u300c\/etc\/clamav\/freshclam.conf \u300d\u3067\u884c\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n$ cat \/etc\/clamav\/freshclam.conf\r\n# Automatically created by the clamav-freshclam postinst\r\n# Comments will get lost when you reconfigure the clamav-freshclam package\r\n\r\nDatabaseOwner clamav\r\nUpdateLogFile \/var\/log\/clamav\/freshclam.log\r\nLogVerbose false\r\nLogSyslog false\r\nLogFacility LOG_LOCAL6\r\nLogFileMaxSize 0\r\nLogRotate true\r\nLogTime true\r\nForeground false\r\nDebug false\r\nMaxAttempts 5\r\nDatabaseDirectory \/var\/lib\/clamav\r\nDNSDatabaseInfo current.cvd.clamav.net\r\nConnectTimeout 30\r\nReceiveTimeout 0\r\nTestDatabases yes\r\nScriptedUpdates yes\r\nCompressLocalDatabase no\r\nBytecode true\r\nNotifyClamd \/etc\/clamav\/clamd.conf\r\n# Check for new database 24 times a day\r\nChecks 24\r\nDatabaseMirror db.local.clamav.net\r\nDatabaseMirror database.clamav.net\r\n<\/pre>\n<h2>\u304a\u308f\u308a\u306b<\/h2>\n<p>Linux\u3067\u30a6\u30a3\u30b9\u30eb\u306b\u611f\u67d3\u3059\u308b\u3053\u3068\u306f\u5c11\u306a\u3044\u3067\u3059\u304c\u3001Windows\u306b\u9023\u643a\u3057\u3066\u3057\u307e\u308f\u306a\u3044\u3088\u3046\u306b\u30c1\u30a7\u30c3\u30af\u3059\u308b\u5834\u5408\u306a\u3069\u306b\u3001ClamAV\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u53c2\u8003\u60c5\u5831<\/h2>\n<p><a href=\"https:\/\/www.clamav.net\/\" rel=\"noopener\" target=\"_blank\">ClamAV (https:\/\/www.clamav.net\/)<\/a><\/p>\n<h2>\u95a2\u9023\u8a18\u4e8b<\/h2>\n<div class=\"sc_getpost\"><a class=\"clearfix\" href=\"https:\/\/lab4ict.com\/system\/archives\/11140\" ><div class=\"sc_getpost_thumb post-box-thumbnail__wrap\"><img decoding=\"async\" src=\"data:image\/gif;base64,R0lGODdhAQABAPAAAN3d3QAAACwAAAAAAQABAAACAkQBADs=\" width=\"150\" height=\"150\" alt=\"\u3010\u8a18\u4e8b\u4e00\u89a7\u3011Ubuntu Desktop 22.04\u3092\u4f7f\u3044\u3053\u306a\u3059\uff01\" loading=\"lazy\" data-src=\"https:\/\/lab4ict.com\/system\/wp-content\/uploads\/2022\/04\/fi_ubuntu_01-150x150.png\" class=\"lazyload\"><\/div><div class=\"title\">\u3010\u8a18\u4e8b\u4e00\u89a7\u3011Ubuntu Desktop 22.04\u3092\u4f7f\u3044\u3053\u306a\u3059\uff01<\/div><div class=\"substr\">Ubuntu Desktop 22.04 LTS\u3092\u4f7f\u3044\u3053\u306a\u3059\u305f\u3081\u306e\u8a18\u4e8b\u4e00\u89a7\u3092\u63b2\u8f09\u3057\u307e\u3059\u3002...<\/div><\/a><\/div>\n<h2>\u95a2\u9023\u66f8\u7c4d\uff08Amazon\uff09<\/h2>\n<p><a href=\"https:\/\/amzn.to\/3vqrEPc\" rel=\"noopener\" target=\"_blank\"><img decoding=\"async\" class=\"paapi5-pa-product-image-source\" src=\"https:\/\/m.media-amazon.com\/images\/I\/51p2j7BlgUL._SL160_.jpg\" alt=\"N\/A\"><\/a><\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ubuntu Desktop 22.04\u306b\u3001ClamAV\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002ClamAV\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u30a6\u30a3\u30eb\u30b9\u30c1\u30a7\u30c3\u30af\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":5284,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[237],"tags":[68,51,274,488,333,335],"class_list":["post-15469","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ubuntu-desktop-2204","tag-clamav","tag-ubuntu","tag-ubuntu-desktop","tag-ubuntu-desktop-22-04","tag-333","tag-335"],"_links":{"self":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/15469","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/comments?post=15469"}],"version-history":[{"count":5,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/15469\/revisions"}],"predecessor-version":[{"id":15500,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/15469\/revisions\/15500"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media\/5284"}],"wp:attachment":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media?parent=15469"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/categories?post=15469"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/tags?post=15469"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}