Anyone to Create Custom Ransomware Virus

Hi guys, I recently wrote an article for my blog about a new service that lets you create your own ransomware. Due to Cybrary policies, this article was rejected from Cybrary OP3N, but I still think it would be interesting to some people, so I will write about it here.







A new type of ransomware is being freely distributed on the Deep Web, but this is not normal ransomware. This RaaS (ransomware as a service) is a new form of cybercrime that works by malware authors distributing the ransomware builder, and then taking a cut of the ransoms it generates. Anyone, no matter how computer savvy they are, can launch a fully-functional ransomware campaign to unsuspecting victims.

Atom Ransomware, formerly called Shark, first started popping up on the Internet in mid July 2016. You can download it through their professional looking website that gives you step by step instructions on how to set it up and start infecting people. The creators claim that it is undetectable by AV software, supports multiple languages, and uses a strong but fast encryption algorithm.

After you download the Atom payload builder, you can specify the bitcoin address to send the ransom to, the directories to infect, the file formats you wish to lock, the price of the ransom, and varying prices for different countries. All of this you can do with no technical knowledge. If you can type on a computer, you can use Atom to create ransomware. The payments are supposedly automated; sending the money first to the malware developers who take a 20% cut, then they send the other 80% to your bitcoin address that you supplied. After it encrypts the files with a .locked extension, it creates an encryption key like every other ransomware. After that, it locks the screen prompting for a password to unlock the files.



Could this be the start of a new cybercrime service? Could this be the future of ransomware?



It’s hard to say what the future will look like in this ever-changing industry, but it very well may play a big part in the future of cybercrime. With open source ransomware such as HiddenTear, and the DIY ransomware builders already out there like Tox, ransomware is becoming easier and easier to make. And with all the work it takes to launch a ransomware campaign, why distribute your ransomware yourself? Atom has a great business model so far. Easily make the ransomware, have other people distribute it, and take 20% of the profits. 20% might not sound like a lot, but say someone customizes Atom to sell for $100 to unlock the files. If that person infects one other person, that’s still $20; and it will only continue to grow as more and more people create new Atom ‘strains.’ This is highly illegal and extremely unethical, but you have to admit, it’s a great idea, and will surely be a huge money maker for them.



The one problem that may arise is that there’s no way for Atom users to guarantee that they will get the 80%. Could this just be a huge scam to get people to spread Atom? Could the developers just take the whole ransom and walk away? Let me know what you think in the comments below!

In the future I hope to be analyzing Atom more in depth, as it seems like a very cool project, and I’d love to know more about how it works internally.

Android Oreo vs. iOS 11: The Next-Gen OS Battle

Today we’ll see comparison between Android Oreo Vs iOS 11. Google Android and Apple iOS are big market in mobile industry and truly competitor. Recently Google announce and release their new Mobile OS named Android Oreo and less than a month later Apple unveiled iOS 11. But how do the two operating systems compare? And how can Apple learn from Google, and vice versa?

Android Oreo Vs iOS 11


Some of the key new additions to Android O, along with features that Apple should implement into iOS 11 to compete. We had discuss some problem with Android Oreo in previous article.

Let’s see who win the battle between Android Oreo Vs iOS 11 :

Picture-in-Picture

The major update of Android Oreo is the inclusion of picture in picture feature; this picture will allow people to run some apps in the corner of a screen.
This feature will allow the people to watch the YouTube videos at the small corner of the screen while you are allowed to use the other apps. This is the perfect option for the mobiles that have significant RAM but will greater for the people that want to enjoy YouTube background music while using other apps.


Picture in Picture mode : Android Oreo Vs iOS 11
Picture in Picture mode : Android Oreo Vs iOS 11
But it was introduced for iPad users along with iOS 9, allowing users to minimise the video and perform other tasks while still being able to watch. You can slide the video around for the best placement or swipe it off-screen to end the video. Picture-in-Picture in iOS look better than Android Oreo.

Winner : For this features iOS 11 look ahead than Android Oreo and got one point for this.

Notification Dots


Notification dots Android Oreo Vs iOS 11
Notification badges had access by many of Android launcher but Google has never officially offered it until Android Oreo. Much like with app badges on iOS, you’ll see a small ‘dot’ that appears on top of your app icon when you receive a notification on Android O.

This includes the ability to view the notification without opening the app via a small on-screen pop-up that looks like the 3D Touch shortcut menu on iOS, but more notification-based.

Winner : For this feature both iOS 11 and Android 8 got equal point.

Smart Text Selection


Smart selection text : Android Oreo Vs iOS 11
Google has integrated the smart text selection that works on the mechanism of artificial intelligence and helps the people to easily cut and paste items.



More recent iterations of Android and iOS have introduced formatting to applicable text, but not much else. That was until Google announced Smart Text Selection, which uses Google’s AI to intelligently analyse what is being selected, and provides you with contextual shortcuts.

Winner : Android 8 got one more point for nice and neat UI with this feature.


See full article : Android Oreo Vs iOS 11 : Comparison you should know about this

Android 7 Vs Android 8

On August, 21st after the solar eclipse, Google released the final version of Android 8 now known as Android Oreo. The sun wasn’t the only thing that was hidden for a while today, as Progressive Web Apps have acquired new problems. I’ve installed Android 8 on my Google Pixel, and tested a couple of things regarding websites and PWAs and then I got some problems with Android Oreo.



Android 7 Vs Android 8 : On Android Oreo, icons have the badge and if they are not a perfect centered circle, they are embedded inside a white circular icon, reducing their original size.



But let me start with good news: software updates can solve most of the problems. The issue is that nobody seemed to care enough about it to do it before the Android release that is currently being delivered to users.

See full article here >> : Problems with Android Oreo

Google launched Android Oreo See the features

Google is the world largest tech firm and always release the latest update that stunned the whole public. Google has provided us a variety of platform; enhance the searching, the newsfeed and Android operating system for mobiles.



Android Oreo Key Features:

  • The every version of Android brought some major update and make sure that the platform will secure than the previous one. The newer version of Android can slow to roll out as just 14% of devices are using the Android Nougat.
  • Google’s own mobile phones Nexus and Pixel are expected to the first smartphone that will get the latest operating system of mobile phones.
  • Anyhow, the latest version of Android will bring these changes to the operating system and some of them are pretty important for the people.

Google Play Protect:

Working to keep your device and data safe from misbehaving apps by scanning over 50 billion apps per day, even the ones you haven’t installed yet!

See this : How Android Instant Run Works?

  • Google has launched the latest Android operating system and also update the operating system to protect the people from the risk of different apps. The OS will automatically detect the harmful apps installed in your mobile and remove them.
  • It will span more than 50 billion apps every day and remove those apps that are harmful to the people, this is the reason Google has best artificial intelligence.

Talk about a life saver

Whether you’re talking, playing, working or streaming, you can feel confident about keeping your battery strong and full of life.

See more features here>>: See What's New in Android Oreo 

How to Android Image Compression Using ImageZipper Library?

How to Android Image Compression Using ImageZipper Library
How to Android Image Compression Using ImageZipper Library
We all know that good UI is important key factor for app success and for UI informative image is most important. But nowadays we don’t care about the size of that image which makes app bigger and bigger in size. ImageZipper is an image compression library which helps you to compress your images both in default and custom way. It allows you to control you the width, height, format, orientation and quality of Image. It ease out the task to send images to the server.

How to Android Image Compression Using ImageZipper Library?

How to Android Image Compression  Using ImageZipper Library

Gradle

Add this to your root build.gradle file:

allprojects {
repositories {
...
maven { url "https://jitpack.io" }
}
}

Default Compressor

File imageZipperFile=new ImageZipper(this).compressToFile(actualFile);

OK Now Get me Bitmap!!

Bitmap b=new ImageZipper(MainActivity.this).compressToBitmap(actualFile);

See full article here: ImageZipper - Android Image Compression Library

How to use FileStack File Picker for Cloud in Android

FileStack Android allow your users to pull in their content from Dropbox, Facebook, and more!
FileStack Android : Amazing Cloud File Picker
It is an amazing cloud integrated file picker by which you got ability to integrate and allow your users to upload and download content from more than 20 cloud drives.
FileStack Android library provides an activity that your app can spawn that allows the user to open and save files.
FileStack Android Example
FileStack Android Example

How to use FileStack Android library:

For Gradle users:

compile ‘io.filepicker:filepicker-android:4.0.2’
By default the following services are available (meaning of keys in brackets is described below):
  • Gallery (GALLERY)
  • Camera (CAMERA)
  • Facebook (FACEBOOK)
  • Amazon Cloud Drive (CLOUDDRIVE)
  • Dropbox (DROPBOX)
  • Box (BOX)
  • Gmail (GMAIL)
  • Instagram (INSTAGRAM)
  • Flickr (FLICKR)
  • Picasa (PICASA)
  • Github (GITHUB)
  • Google Drive (GOOGLE_DRIVE)
  • Evernote (EVERNOTE)
  • OneDrive (SKYDRIVE)

Create UberCar Animation with Android Library

How to Add Uber Car Animation in Android
How to Add Uber Car Animation in Android
I found a question on Quora about How to add Uber car animation in Android application. I really like this question and found a solution which help you if want to do this in your application.

Solution is UberCarAnimation is an Android library which showing movement of car on map like in Uber.

  • Parse the “overview_polyline” from the JSON by providing the appropriate GET parameters. For eg:
"https://maps.googleapis.com/maps/api/directions/json?" +
"mode=driving&"
+ "transit_routing_preference=less_driving&"
+ "origin=" + latitude + "," + longitude + "&"
+ "destination=" + destination + "&"
+ "key=" + getResources().getString(R.string.google_directions_key)

  • Decode the polyline which will provide you with list of latitudes and longitudes that is List<LatLng> to be apt.
  • Create a value animator by providing the ofFloatValue, setting duration and adding update listener in Handler
ValueAnimator valueAnimator = ValueAnimator.ofFloat(0, 1);
valueAnimator.setDuration(3000);
valueAnimator.setInterpolator(new LinearInterpolator());
valueAnimator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() {
@Override
public void onAnimationUpdate(ValueAnimator valueAnimator) {
//CODE
});

  • Finally set position of marker to the new position, also evaluating the bearing between the consecutive points so that it seems car is turning literally and finally update camera as:
marker.setPosition(newPos);
marker.setAnchor(0.5f, 0.5f);
marker.setRotation(getBearing(startPosition, newPos));
mMap.moveCamera(CameraUpdateFactory
.newCameraPosition
(new CameraPosition.Builder()
target(newPos)
.zoom(15.5f)
.build()));



See full article: Add Uber Car Animation Android

How to Add FloatingView Animation in Android?

In previous article, we focused on Shadow image with Material Shadow library and today we come with cool animation with View using FloatingView animation library in Android. It can make the target view floating above the anchor view with cool animation.

You can see demo(FloatingView Animation) below:

FloatingView in Android
FloatingView Animation in Android
Let’s move on to implementation of FloatingView Animation:

Build gradle

First of all we need to add dependencies in build.gradle.

dependencies {
compile 'com.ufreedom.uikit:FloatingViewLib:1.0.2'
}

Create floating element

Use FloatingBuilder to create a FloatingElement

FloatingElement builder = new FloatingBuilder()
.anchorView(View)
.targetView(View)
.offsetX(int)
.offsetY(int)
.floatingTransition(FloatingTransition)
.build();

The use of FloatingBuilder can be configured to have:

  • anchorView :Anchor, is you want to float animation in which View above
  • target:Target, The view which you want to float
  • offsetX:X direction of offset, unit PX
  • offsetY: Y direction of offset, unit PX
  • floatingTransition : Floating effect, the default is ScaleFloatingTransition
Source: Add FloatingView Animation in Android » Tell Me How - A Place for Technology Geekier

Add Material Shadow in Android

Recently we discuss about Kotlin Native and daily used kotlin code, today we are going to discuss about Google's Material Shadow library.

Add Material Shadow in Android

Material Shadow is a library for seamlessly integrating Material shadows. The library takes existing material shadows to next level by adding the following features :

  • Convex shadows : The shadows are not only rectangular or circular, they can take any convex shape depending on the view and its content.
  • Support for shadow offsets : The library allows developers to set X and Y offset for the shadows.
  • Support for shadow intensity : The library also has support for setting shadow intensity via shadowAlpha attribute.
  • Shadows for semi-transparent views : The library allows shadows for semi-transparent views.
  • Support for Async Shadow calculations : The library allows the operations to be async to avoid blocking the UI thread for long calculations.
  • Shadow animations : The library supports fade out animation for shadow.

How to use this library?

Just add the following dependency in your app’s build.gradle

dependencies {
compile 'com.sdsmdg.harjot:materialshadows:1.2.5'
}

Example Usage 1 (Simple)

XML

<com.sdsmdg.harjot.materialshadows.MaterialShadowViewWrapper
android:layout_width="match_parent"
android:layout_height="match_parent">

<ImageView
android:layout_width="130dp"
android:layout_height="130dp"
android:elevation="5dp"
android:src="@drawable/poly" />

</com.sdsmdg.harjot.materialshadows.MaterialShadowViewWrapper>

Result

Simple example of Material Shadow

See other example and full article here >> : Material Shadow for Android 

Daily used Kotlin Code Snippet

In past month i did some work on Kotlin and some article you can see on this trending topic. So today i am here with the list of daily used Kotlin code snippet which every developer need to know.

Daily used Kotlin Code Snippet

It is a collection of random and frequently used idioms in Kotlin. If you have a favorite idiom, contribute it by sending a comment below.

List of Daily used Kotlin Code Snippet

Creating DTOs (POJOs/POCOs)

  1. data class Customer(val name: String, val email: String)
provides a Customer class with the following functionality:

  • getters (and setters in case of var{: .keyword }s) for all properties
  • equals()
  • hashCode()
  • toString()
  • copy()
  • component1()component2(), …, for all properties (see Data classes)

Default values for function parameters

  1. fun foo(a: Int = 0, b: String = "") { ... }
Do you know : What is Kotlin Native?

Filtering a list

  1. val positives = list.filter { x -> x > 0 }
Or alternatively, even shorter:

  1. val positives = list.filter { it > 0 }
Do you use this : Koin – Kotlin Dependency Injection

String Interpolation

  1. println("Name $name")
 
Source: Top 20 Daily used Kotlin Code Snippet

Kotlin without JVM Using Kotlin Native

Kotlin Native is another step toward making Kotlin usable throughout a modern application. Eventually, it will be possible to use Kotlin to write every component, from the server back-end to the web or mobile clients. Sharing the skill set is one big motivation for this scenario.

Kotlin Native replace JVM

Kotlin is all about knowing that Kotlin is compatible with Java because it is built for use on the JVM. Kotlin is often Android or backend. More than that (or whatever ran on our beloved JVM).
More on Kotlin : See other interesting tutorial and news about Kotlin

What if one day we do not want to use the JVM?
In some cases we may have to say goodbye to the JVM for some reason.
  • Want to use existing native library library?
  • Run native app on various platforms.
  • I want to use the machine resources to it.
  • Boring JVM
For these reasons, we have to find a way to bring our beloved Kotlin to native applications.
Recommended article : Top 30 Android Tools Every Developer should Know

What is Native?

Speaking of native, come up with a few, and then summarize what it is. What’s the difference with the JVM?
Native translator is native If in a computer system is to run our command set directly on the platform or machine code, each system will have a different format. Even though it is the same work.
The JVM gets a set of bytes of code to figure out how to execute that statement.
If compared Running a direct command set is better than passing another system. Because we have control over the machine.
For Kotlin geekers : Bye bye Gradle and Maven !! Say hello Kotlin Kobalt

And What is Kotlin Native?

Kotlin Native is a compiler that allows us to write a native app with Kotlin. It uses the LLVM compiler to create machine code based on the platform we want. This can now be done on the
  • Mac OS X
  • Linux
  • Apple iOS
  • Raspberry Pi
  • Windows
  • Web Assembly (in the future)
Source: Kotlin Native replace JVM

How to add GraphView in Android using Graph Library?

GraphView is a library for Android to programmatically create flexible and nice-looking diagrams. It is easy to understand, to integrate and to customize.



GraphView - Android Graph Library



Recently we’ve seen some View article like Increment ProductViewOverlayVeiwImage SlideViewDiscreate ScrollViewSwipeView and many more you can get. But today i am going to share a Graph Library for creating zoomable and scrollable line and bar graphs.

It supported graph types:

  • Line Graphs
  • Bar Graphs
  • Point Graphs
  • or implement your own custom types.
Source: GraphView - Android Graph Library

ConstraintLayout in Android

If you’re just starting your adventure with ConstraintLayout, the new layout that’s available in a support library and is closely integrated with the visual UI editor in Android Studio 2.2.

What is ConstraintLayout in Android?

ConstraintLayout in Android is a ViewGroup which allows you to position and size widgets in a flexible way. Note: ConstraintLayout is available as a support library that you can use on Android systems starting with API level 9 (Gingerbread).

Building interfaces with ConstraintLayout in Android

In this article I’d like to highlight recent additions to ConstraintLayout in Android Studio 2.3 (Beta): chains and ratios, as well as give some general ConstraintLayout tips and tricks.

Chains

Creating chains is a new feature that lets you position views along a single axis (horizontal or vertical), that conceptually is a bit similar to a LinearLayout. As implemented by ConstraintLayout in Android, a chain is a series of views which are linked via bi-directional connections.
To create a chain in the layout editor, select the views you wish to chain together, right click on one of the views and click on “Center views horizontally” (or “Center views vertically”).
Creating a horizontal chain
Creating a horizontal chain
This creates the necessary connections for you. Moreover, a new button appears when you select any of the chain elements. It lets you toggle between three chain modes: Spread, Spread Inside, and Packed Chain.
Different chain styles: spread, spread inside and packed
Different chain styles: spread, spread inside and packed

There are two additional techniques you can use when dealing with chains:

Recommended article on Layout:

If you have a Spread or Spread Inside chain and any views in the chain have their size set to MATCH_CONSTRAINT (or “0dp”), the remaining space in the chain will be distributed among them according to weights defined in layout_constraintHorizontal_weight or layout_constraintVertical_weight.
Setting match_constraint on views that are part of a chain
Setting match_constraint on views that are part of a chain
If you have a Packed chain, you can adjust the horizontal (or vertical) bias to move all elements of the chain left and right (or up and down).
Adjusting horizontal bias of a packed chain
Adjusting horizontal bias of a packed chain

Ratios

Ratios let you accomplish roughly the same thing as a PercentFrameLayout, i.e. restrict a View to a set width to height ratio, without the overhead of the additional ViewGroup in your hierarchy.
Setting a ratio on a view
Setting a ratio on a view
To set a ratio for any view inside a ConstraintLayout:
  1. Make sure at least one of the size constraints is dynamic, i.e. not “Fixed” and not “Wrap Content”.
  2. Click the “Toggle aspect ratio constraint” that appears in the top left corner of the box.
  3. Input the desired aspect ratio in width:height format, for example: 16:9
Full article >>: Building UI with ConstraintLayout in Android?