2018年末勒索病毒大爆发 360手机卫士全方位查杀
光明网一月五日电 二零一八年终,“Wechat支付”勒索病毒闹得闹腾,还应该有各样木马病毒趁乱作恶。智能手提式有线电话机作为大家最“心爱得舍不得甩手”的电子装置,不只有担当了平日通信的功能,同一时间也代表计算机成为了本国网上老铁首要推荐的上网终端。无论是谈心看剧,依旧办事交换,听音乐打游戏以至支付理财都离不开手提式有线电话机,然则随之而来的安全主题素材就显示尤其重大了。
public class AntivirusActivity extends Activity {
TextView tv_init_virus;
ProgressBar pb;
Message msg;
ImageView iv_scanning;
LinearLayout ll_content;
protected void onCreate(Bundle savedInstanceState) {
// TODO Auto-generated method stub
super.onCreate(savedInstanceState);
initUI();
initData();
}
static class ScanInfo{
boolean desc;
String appname;
String packagename;
}
Handler handler = new Handler(){
public void handleMessage(android.os.Message msg) {
switch(msg.what){
case 1:
tv_init_virus.setText("初始化八核杀毒引擎");
break;
case 2:
//病毒扫描中
TextView child = new TextView(AntivirusActivity.this);
ScanInfo scaninfo = (ScanInfo) msg.obj;
if(scaninfo.desc){//true表示有病毒
child.setTextColor(Color.RED);
child.setText(scaninfo.appname "有病毒");
}else{
child.setTextColor(Color.BLACK);
child.setText(scaninfo.appname "扫描安全");
}
ll_content.addView(child);
break;
case 3:
//当扫描结束的时候,停止动画。
iv_scanning.clearAnimation();
break;
}
};
};
public void initData(){
new Thread(){
public void run(){
// //获取手机里面所有的应用程序
// List<AppInfo> appinfos = AppInfos.getAppInfos(AntivirusActivity.this);
// //迭代手机上边所有的软件
// for(AppInfo appinfo:appinfos){
// String name = appinfo.getApkname();
// }
msg = Message.obtain();
msg.what = 1;//初始化病毒
PackageManager packageManager = getPackageManager();
List<PackageInfo> installPackages = packageManager.getInstalledPackages(0);
int size = installPackages.size();
pb.setMax(size);
int progress = 0 ;
for(PackageInfo packageinfo:installPackages){
//获取当前手机上app的名字
String appname = packageinfo.applicationInfo.loadLabel(packageManager).toString();
//首先需要获取到每个应用程序的位置
String sourceDir = packageinfo.applicationInfo.sourceDir;
ScanInfo scaninfo = new ScanInfo();
scaninfo.appname = appname;
scaninfo.packagename = packageinfo.applicationInfo.packageName;
//MD5是病毒特征码,得到应用程序的MD5值
String md5 = null;
try {
md5 = MD5Utils.getFileMd5(sourceDir);
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
String desc = AntivirusDao.checkFileVirus(md5);
if(desc == null){
scaninfo.desc = false;
}else{
//这里有病毒
scaninfo.desc = true;
}
progress ;
pb.setProgress(progress);
msg = Message.obtain();
msg.what = 2;//正在浏览
msg.obj = scaninfo;
handler.sendMessage(msg);
//判断当前的文件是否在病毒数据库中?
}
msg = Message.obtain();
msg.what = 3;//结束
handler.sendMessage(msg);
}
}.start();
}
public void initUI(){
setContentView(R.layout.activity_antivirus);
iv_scanning = (ImageView) findViewById(R.id.iv_scanning);
ll_content = (LinearLayout) findViewById(R.id.ll_content);
tv_init_virus = (TextView) findViewById(R.id.tv_init_virus);
pb = (ProgressBar) findViewById(R.id.progressBar1);
/**
* fromDegrees 開始的角度
* toDegrees 結束的角度
* pivotXType 參照自己
* pivotXValue
* pivotYType
* pivotYValue
* 初始化旋转动画
*/
RotateAnimation rotationmation = new RotateAnimation(0,360,Animation.RELATIVE_TO_SELF,0.5f,
Animation.RELATIVE_TO_SELF,0.5f);
rotationmation.setDuration(5000);
//rotationmation.setRepeatMode(-1);
rotationmation.setRepeatCount(-1);
iv_scanning.startAnimation(rotationmation);
}
}
这么些是病毒数据库,在闪屏页将assets目录下的数据库拷贝到data/data/
.../files 目录下
大家须求用的是antivirus.db里面包车型大巴datable表
更加精准的杀毒技术
AntivirusDao.java
public class AntivirusDao {
//检查当前MD5是否在数据库中
public static String checkFileVirus(String md5){
String desc = null;
SQLiteDatabase db = SQLiteDatabase.openDatabase("data/data/com.mxn.mobilesafe/files/antivirus.db", null,
SQLiteDatabase.OPEN_READONLY);
//查询
Cursor cursor = db.rawQuery("select desc from datable where md5 = ?", new String[]{md5});
if(cursor.moveToNext()){
cursor.getString(0);
}
return desc;
}
//添加病毒数据库
public static void adddVirus(String md5,String desc){
SQLiteDatabase db = SQLiteDatabase.openDatabase("data/data/com.mxn.mobilesafe/files/antivirus.db",
null, SQLiteDatabase.OPEN_READONLY);
ContentValues values = new ContentValues();
values.put("md5", md5);
values.put("desc", desc);
values.put("type", 6);
values.put("name", "Android.Adware.AirAD.a");
db.insert("datable", null, values);
db.close();
}
}
activity_antivirus.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
xmlns:android="http://schemas.android.com/apk/res/android">
<TextView
style="@style/TitleStyle"
android:text="病毒查杀"
/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="10dp"
android:orientation="horizontal" >
<FrameLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
>
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/ic_scanner_malware"
/>
<ImageView
android:id="@ id/iv_scanning"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/act_scanning_03"
/>
</FrameLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_margin="5dp"
>
<TextView
android:id="@ id/tv_init_virus"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="初始化8核杀毒引擎"
/>
<ProgressBar
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@ id/progressBar1"
></ProgressBar>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:orientation="vertical"
android:id="@ id/ll_content"
android:layout_width="match_parent"
android:layout_height="match_parent"
></LinearLayout>
</LinearLayout>
用作大家精晓的资深手提式有线电话机安全软件,360有线电话卫士这段时间出产了8.0正式版。此次改革主打极智安全理念,不仅仅在视觉体验及相互影响体验方面更为圆满,还透过连接智能AI安全系统360安全大脑,使360部手提式有线电话机卫士8.0本子在侵扰拦截、病毒查杀及垃圾清理三大功能上都有了大幅度进级。
用作此番更新的亮点之风流罗曼蒂克,360手提式有线电话机卫士8.0新加盟的AI病毒查杀引擎不仅仅查杀功用更加高,还可经过统筹好的神经网络自动构建病毒特征,通过结合古板样板特征与神经网络的同心协力,大大进级识别正确率和辨认速度。换句话说,即使手提式无线话机未有互连网连接,360无线电话卫士8.0也能透过人工智能系统对特征库中的病毒实行离线查杀。
更使得的幸免方法
360安全大脑是二个布满式智能类别,于当年三月份第1回对外祖父布,通过综合使用ABCI(大数量、人工智能、云计算、IoT智能感知、区块链)等新技艺与360多年积存的大方知识库和人机交互作用剖判连串融为风流倜傥体在同步,建形成了生龙活虎套解决大安全时代网络安全主题素材的遍及式智能类别,此番360部手提式有线电话机卫士8.0内置的AI病毒查杀引擎正是优游卒岁大脑的黄金年代项具体应用。
有了AI病毒查杀引擎的协理,360手提式有线电话机卫士8.0出席提满含互联网安全势态感知、QVM病毒木马智能查杀、大数额涉嫌解析和演绎进行的APT溯源剖析、Mirai物联网尸鬼网络攻击的首先预先警示AI协助决策等的出世应用,可轻便应对每一样病毒、木马及恶意程序,时刻守护手提式有线电话机安全。
除开能够轻便应对每一项手提式无线电话机病毒之外,360有线电话卫士8.0还存有能够精准识别各种伪基站、钓鱼网址,木马病毒网站等安全勒迫的全新的AI短信识别引擎,而新步向的全新的AI垃圾清理引擎则能够对微信中的互连网录像、广告、二维码等无效文件的高速清理。
更年轻的外观风格
在宏观种类功用的同期,全新的360部手提式有线电话机卫士8.0本子选取了全新的视觉成分进行设计,丢弃了守旧安全软件的老面孔,用情绪化插画风格与英武的情调拨运输用,在让安全更有温度的还要也让手提式有线电话机须臾间年轻化,大批量微动漫的施用,在杀毒和清理的相互作用进度中拜别了金钱观手提式有线电话机安全软件机械呆板的品格,令操作进度越发清晰直观。
360部手提式有线话机卫士8.0版本通过引进360丹青妙手大脑在智能安全球的一各类新本领,既能够幸免各个侵扰短信电话,还可整个晋级手提式有线电话机安全,更能透过火速精准的废品清理进步普通的无绳电话机使用体会。近日360部手提式有线话机卫士8.0行业内部版已经临蓐,大家可经过360有线电话卫中尉网、各大软件墟市展开更新安装。
本文由vnsr威尼斯城官网登入发布于股票基金,转载请注明出处:2018年末勒索病毒大爆发 360手机卫士全方位查杀
关键词: www.3410.com